Pass multiple strings as params via "command"
BNig
bernd.niggemann at uni-wh.de
Fri Jul 15 05:42:57 EDT 2016
this seems to work:
--------------------
put "media/type" into par1; put "art/paint" into par2; TestParams par1, par2
--------------------
from the message box.
Kind regards
Bernd
Sannyasin Brahmanathaswami wrote
> in msg box enter
>
> testParams "1+2", "3+4"
>
> result:
>
> 1+2
> 7
>
> "nasty"
>
>
>
> I don't have errors with LC 6/7/8 from a script (not msg).
> From msg box I have also no errors when using LC 6 and 7.
>
> But from msg box with LC 8.
> This is probably a bug in LC 8, that msg box command tries to *evaluate*
> the second param.
>
> You can see this if you use for example
> fetchRandomMediaItem "a/b", "a=a"
--
View this message in context: http://runtime-revolution.278305.n4.nabble.com/Pass-multiple-strings-as-params-via-command-tp4706731p4706751.html
Sent from the Revolution - User mailing list archive at Nabble.com.
More information about the use-livecode
mailing list