Hi Dave and Mark,
Le 4 juil. 07 à 16:53, Mark Smith a écrit :
Yes, I think you need to check "call" in the docs...
best,
Mark
On 4 Jul 2007, at 15:41, Dave wrote:
Hi,
Is there anyway to call a function in the Script on an Object
(like a field) from another object (like a button) ?
Thanks a lot
All the Best
Dave
Call command can't 'call' a function but a handler only.
But a handler can return a value in the result variable.
Then make your function (function) a handler (on) and use:
local tResult
-----
call <My_Handler> of <Object>
put the result into tResult
----------------------------------------------
on My_Handler
<some stuff>
return <value>
end My_Handler
Best regards from Paris,
Eric Chatonet.
----------------------------------------------------------------
Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/
Email: [EMAIL PROTECTED]/
----------------------------------------------------------------
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution