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

David Bovill david at openpartnership.net
Tue Jul 17 20:33:39 CDT 2007


I'm a little lost in this thread - isn't this what i posted earlier - ie:

To make the syntax easier I create a small suite of handlers so that i can
> use something like:
>
> set the model_IndexLine ["3,cMyCustomProp"] of stack "myStack" to myLine
>
>
> which I often abbreviate to:
>
> set the model_IndexLine [3] of stack "myStack" to myLine
> >
>
It is in the current docs - at least for 'setprop"....

On 18/07/07, Kay C Lan <lan.kc.macmail at gmail.com> wrote:
>
> On 7/17/07, Eric Chatonet <eric.chatonet at sosmartsoftware.com> wrote:
>
> > But this reminded me of a non documented way to handle GetProp and
> > SetProp in Rev allowing to trigger any prop in a given custom
> > property set in one single handler:
>
>
> Now this is why I posted my original question, I was expecting someone to
> come back with some command I wasn't aware of, or special syntax, or
> undocumented feature on how to set a chunk of a custom prop. Unfortunately
> they didn't, but this looks pretty cool. Now all I have to do is figure
> out
> how I can take advantage of this ;-)
>
> Thanks Eric.
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>



More information about the use-livecode mailing list