On 8/29/2014, 12:52 PM, Peter M. Brigham wrote:
I thought you could use if for functions too, but as I just experimented with 
it, I can't get that to work.

Like this:

get value("myFunction(param)",cd "otherCard")

The second parameter is the location of the function, which can be anywhere in any stack in RAM. This is how you get functions to return values when the function itself isn't in the current message path.

--
Jacqueline Landman Gay         |     jac...@hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to