Pass multiple strings as params via "command"

Dar Scott dsc at swcp.com
Thu Jul 14 19:09:53 EDT 2016


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 <brahma at hindu.org> 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
> use-livecode at lists.runrev.com<mailto:use-livecode at lists.runrev.com>
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode




More information about the use-livecode mailing list