Script Only Stack Behaviors and Nesting
bobsneidar at iotecdigital.com
Tue Jul 3 16:52:32 CEST 2018
Not if you had to reference them the way Jacque says you can reference a behavior's script locals ie. the sLocal of THIS ME. I have a lot of objects (my SearchBar is a good example) where I store information in scrip locals (the old dgData and hilited record of a datagrid before performing a hot search so I can revert if canceled for instance) and it would be convenient to be able to reference them from another object sometimes. Of course I can use properties.
> On Jul 2, 2018, at 17:02 , Monte Goulding via use-livecode <use-livecode at lists.runrev.com> wrote:
>> On 3 Jul 2018, at 9:16 am, Bob Sneidar via use-livecode <use-livecode at lists.runrev.com> wrote:
>> That would be very cool! That would mean you could get and set the script locals of another object.
> No it really wouldn’t. It would make them worse than globals… eek.
More information about the use-livecode