On Oct 29, 2006, at 6:13 PM, Marielle Lange wrote:
What is exactly the scope of this "the result"?
According to the doc: "The result function is set to empty when the
current handler finishes executing."
I have tried grabbing 'the result' in logging functions, but found I
needed to pass it as a parameter. In most cases, I get the result in
the line following the command that generated it.
I'm not sure, but I think 'the result' is set to empty at the _start_
of handlers and of some built-in functions and commands.
Note this:
**********************
on mouseUp
test
put the result
end mouseUp
on test
put f(5) into z
put 2 into y
end test
function f x
return x+x
end f
**********************
Upon click 10 is put into the message box.
Dar
_______________________________________________
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution