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. 

Bob S


> On Jul 2, 2018, at 17:02 , Monte Goulding via use-livecode 
> <use-livecode@lists.runrev.com> wrote:
> 
>> On 3 Jul 2018, at 9:16 am, Bob Sneidar via use-livecode 
>> <use-livecode@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.
> 
> Cheers
> 
> Monte

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to