I get the error even with something like this:

        test "a", format("b" & slash & "c")

It seems to occur when there are multiple parameters and one of the values of 
the 2nd or higher parameter includes a slash.

I have seen "can't find handler" as the error string for other weird errors.  

I guess the workaround is to put a temporary test button on the stack and use 
that to test the command.


> On Jul 14, 2016, at 5:09 PM, Dar Scott <[email protected]> wrote:
> 
> For me this fails (with a shorter name), but when I take out the "/", it 
> works.  
> 
> This also fails:
> test "cat_species", "dog" & slash & "canine"
> 
> Not a solution, but a hint.  I hope.  
> 
> 
> 
>> On Jul 14, 2016, at 4:56 PM, Sannyasin Brahmanathaswami <[email protected]> 
>> wrote:
>> 
>> 
>> 
>> command  in stack looks like this
>> 
>> 
>> command fetchRandomMediaItem pCriteria, pValue
>> 
>> # do stuff here
>> 
>> end fetchRandomMediaItem
>> 
>> from msg box: some callers work, some fail
>> 
>> 
>> fetchRandomMediaItem cat, dog  # this works
>> 
>> fetchRandomMediaItem  "cat", "dog" # this works
>> 
>> #But this fails
>> 
>> fetchRandomMediaItem  "cat_species", "dog/canine"
>> 
>> 
>> 
>> Message execution error:
>> 
>> Error description: Handler: can't find handler
>> 
>> Hint: fetchRandomMediaItem
>> 
>> This also fails
>> 
>> 
>> fetchRandomMediaItem "cat_species, dog/canine"
>> 
>> Why?
>> 
>> BR
>> 
>> _______________________________________________
>> use-livecode mailing list
>> [email protected]<mailto:[email protected]>
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
>> _______________________________________________
>> use-livecode mailing list
>> [email protected]
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> _______________________________________________
> use-livecode mailing list
> [email protected]
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to