hi Julian,

yes, this does produce an error
x = [ [1,2,3,4,5]:[6,7,8,9,0] ]
-- err

but this apparently doesn't:
x = [:]
x.setaProp( [1,2,3,4,5], [1,2,3,4,5] )
put x
-- [[1, 2, 3, 4, 5]: [1, 2, 3, 4, 5]]

cheers,
benjamin ;)



julian weaver schrieb:
hi,

i've inherited a project that builds a prop list from linear lists where both the property and value are linear lists, e.g.

[ [1,2,3,4,5]:[6,7,8,9,0], ... ]

It's more of a query than actually looking for a fix but the list functions fine as it's built on the fly but generates a script error when built from a field or message window.

i'll rewrite it as it's a silly way to build a pivot table but i'm just a tad curious.

thanks,

Julian

[To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [email protected] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]


--
Benjamin Albrecht
Multimedia Development & Design

web:    www.benjaminalbrecht.com
mail:   [EMAIL PROTECTED]
mobile: +49 - 177 - 38 111 68
phone:  +49 - 4131 - 24 62 71

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[email protected]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]

Reply via email to