calling a remote function..
Mark Smith
mark at maseurope.net
Fri Jan 19 09:44:56 EST 2007
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 <mark at maseurope.net> 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
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
More information about the use-livecode
mailing list