Right. A property set is an array of properties if I am not mistaken. So 
portal_RowNames is the "array" name and headerName is a variable which holds a 
value resolving to the name of the property. Hence it compiles.

Bob S


On Jan 16, 2017, at 10:45 , Jeanne A. E. DeVoto via use-livecode 
<use-livecode@lists.runrev.com<mailto:use-livecode@lists.runrev.com>> wrote:

But I found this in a script from an associate:

setprop portal_RowNames [headerName] rowNames

and it compilesS the first param is a variable inside square braces.

Not sure it this is some LC magic or just this programmer's "style"

_______________________________________________
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

Reply via email to