Generic setprop (was: Re: Custom Properties vs globals)

Kay C Lan lan.kc.macmail at gmail.com
Tue Jul 17 22:26:25 EDT 2007


On 7/18/07, David Bovill <david at openpartnership.net> wrote:

I'm a little lost in this thread - isn't this what i posted earlier - ie:
>
> > which I often abbreviate to:
> >
> > set the model_IndexLine [3] of stack "myStack" to myLine


Yes David, I do appreciate that you did provide a one liner, but only if
you've set up your custom prop appropriately before hand. Unless I'm
completely misreading something, as far as I can tell, if I suddenly need to
change word 4 in model_IndexLine [3], I either need to set up a new custom
prop set that has a custom prop for each word of model_IndexLine [3], or I
need to put model_IndexLine [3] into a var, change word 4, then reset the
whole of model_IndexLine [3].

:-)



More information about the use-livecode mailing list