Ah, I see. How about:

answer value("foo(" & quote & p1 & quote & comma & p2 & ")",btn "bar")

admittedly, this is going to be unwieldy if all your params might contain quotes, so then perhaps you need to use Ken Rays "q" function:

answer value("foo(" & q(p1) & comma & q(p2) & ")", btn "bar")

Best,

Mark

On 19 Jan 2007, at 14:35, Chipp Walters wrote:

Mark,
That's close, but still no cigar. Because Param1 has a comma in it, it
thinks it's two params. IOW, the answer is "1" & cr & "000". The "soldiers"
is left behind :-(

Any other ideas?

-Chipp

On 1/19/07, Mark Smith <[EMAIL PROTECTED]> wrote:

Chipp, this seems to work for me:

  answer value("foo(" & param1 & comma & param2 & ")",btn "bar")

Though you seem to have "answer" in both button scripts...


Yeah, I know, but it doesn't matter.
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

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

Reply via email to