Call a function on another card

Peter Bogdanoff bogdanoff at me.com
Thu Feb 23 15:32:32 EST 2017


Hi,

I’m reading on 
http://lessons.livecode.com/m/4071/l/11787-how-to-call-a-function-or-command-in-another-object

this:
put value("myFunction(hello, world)", group "myGroup" of card "myCard") into tResult

I want to use a variable as a parameter instead of “hello, world” as in the page example.

These don’t work:
put value(“getPageNumber (tID)", card "MITA" of stack "MITA") into tResult
put value("getPageNumber" & (tID), card "MITA" of stack "MITA") into tResult

What do I do?

Peter Bogdanoff



More information about the Use-livecode mailing list