If I recall correctly, that is a keyed custom prop, and also if I remember correctly, it works with our without the space. (So its like an array, but its a property with array notation) portal_RowNames [headerName] and portal_RowNames[headerName] should both work. (unless I misremember completely)
On Fri, Jan 13, 2017 at 11:56 AM, Sannyasin Brahmanathaswami via use-livecode <use-livecode@lists.runrev.com> wrote: > But I found this in a script from an associate: > > setprop portal_RowNames [headerName] rowNames > > and it compiles… the first param is a variable inside square braces. > > Not sure it this is some LC magic or just this programmer's "style" > --------- > Bob S: That can only be an element of an array. Without the preceding > array name, it will not compile. > -------- > BR: [var] # value inside square braces… > > that I see in some scripts… what is that about? A custom thing? or is > this also some jewel expression like @ that you will never learn about > unless you fall onto it? > > _______________________________________________ > 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 _______________________________________________ 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