Pass multiple strings as params via "command"

Sannyasin Brahmanathaswami brahma at hindu.org
Thu Jul 14 18:53:32 EDT 2016


working from the msg box:

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


Why?

BR



More information about the use-livecode mailing list