how to get data back from a function in another stack?

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
marielle
Livecode Opensource Backer
Livecode Opensource Backer

how to get data back from a function in another stack?

Post by marielle » Mon Oct 30, 2006 2:42 am

The question was:
Is it possible to activate a function that resides in one stack, and get the result from a different stack? Right now I have it set up so that Stack A gets a request for info from stack B over the Internet. Lets pretend that the request is "the background color of this stack". It puts that into a variable called vWhat. Then it executes do ("get" && vWhat && "of Stack B"). Then Stack A returns the data over the Internet. This works well for requesting properties, but I can't get it to activate a function and put the result in the it variable. Is it even possible? Is there a "send" equivalent for functions?
The very long and informative answers are archived on the codes website

Cheers,
Marielle

Post Reply

Return to “Talking LiveCode”