Pass multiple strings as params via "command"

Sannyasin Brahmanathaswami brahma at hindu.org
Thu Jul 14 18:56:43 EDT 2016



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



More information about the use-livecode mailing list