How to refer to a 'calling' function

John Rule johnrule at rcsprogramming.com
Thu May 13 13:03:02 EDT 2004


I would like to return a value to a function after waiting for a response
from a socket that already has a handler for reading from the socket. When
the data comes in, I would like to return this value to the 'original'
function that started everything. What is happening is the reference to the
original function is no longer valid when I want to 'return' the value. I
looked at the 'target' function, but that is not working...is there any way
to refernece functions for directly returning values (some kind of internal
reference)?

How about a 'return in' like a 'send in'...then I could set a global.

Thanks,
JR



More information about the use-livecode mailing list