Access Script Local Value?

Sarah Reichelt sarah.reichelt at gmail.com
Sun Jun 27 18:51:59 CDT 2010


> Is it possible for the script of one object to set/get a script local
> variable value of another object?  If yes, how?

Not directly, as far as I know. You have to write getter & setter
routines in the object containing the script local:

local sLocalVar

command setLocalVar pNewValue
   put pNewValue into sLocalVar
end setLocalVar

function getLocalVar
   return sLocalVar
end getLocalVar


Cheers,
Sarah

Rodeo discussion:
http://rodeoapps.com/rodeo-discuss-among-yourselves



More information about the use-livecode mailing list