Question on Value Function
Jeanne A. E. DeVoto
revolution at jaedworks.com
Wed Dec 20 16:58:00 EST 2006
At 4:21 PM +0000 12/20/2006, Dave wrote:
>Hi All,
>
>I am calling a function in another stack using the value function. This code work great:
>
> get value("Initialize(" & myEnableFlag & ")", myStackFileName)
>
>But how can I add another parameter to the call? The following gives an execution error:
>
> get value("Initialize(" & myEnableFlag & "," & myString & ")", myStackFileName)
Try wrapping it in "do":
do "get value(" & quote & "Initialize(" & myEnableFlag,myString & ")" & quote,myStackFileName & ")"
Very strange-looking, but it works.
--
jeanne a. e. devoto ~ revolution at jaedworks.com
http://www.jaedworks.com
More information about the use-livecode
mailing list