At 18:40 -0700 2001_06_20, Ellen C. Largo wrote:
>...The VB code contains part which
>is having a negative value for the index of the array.  I was making a
>linear list as its equivalent code in Lingo but the big problem is Lingo
>does not allow zero or negative index values for the list, am i right?

That would be a propertyList with integers as properties:

p = [:]
p.addProp(-1, #knud)
put p.getAProp(-1)
-- #knud

Don't be afraid to use integers as properties, even macromedia does it.

Jakob

[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/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