Script Only Stack Behaviors and Nesting

Brian Milby brian at milby7.com
Tue Jul 3 11:05:17 EDT 2018


Can’t we already do that with a custom getprop/setprop?
On Jul 3, 2018, 10:53 AM -0400, Bob Sneidar via use-livecode <use-livecode at lists.runrev.com>, wrote:
> 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 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.
> >
> > Cheers
> >
> > Monte
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode



More information about the use-livecode mailing list