style of addressing objects
Bob Sneidar
bobs at twft.com
Wed Feb 9 12:12:35 EST 2011
Besides quoting all object names, I would also use more descriptive names to make the code easier to read.
Bob
On Feb 9, 2011, at 2:12 AM, Tiemo Hollmann TB wrote:
> Hello,
>
> lets say I have a field "f1", grouped in grp "g1" on card "c1".
>
>
>
> I can address the field e.g.: put "foo" into fld f1
>
> But I could also address: put "foo" into fld f1 of grp g1
>
> Or: put "foo" into fld f1 of cd c1
>
> Or: put "foo" into fld f1 of grp g1 of cd c1 of stack s1
>
> And actually every object name with or without quotes
>
>
>
> What is "the correct way" of addressing, or what is a good style or what
> shouldn't you do never.
>
> What do the old revolutionaries say? Just curious to get more "standard
> compliant"
>
> Thanks
>
> Tiemo
>
>
>
>
>
>
>
> _______________________________________________
> 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