Access Script Local Value?

Sarah Reichelt sarah.reichelt at
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


Rodeo discussion:

More information about the use-livecode mailing list