At 12:38 PM -0500 1/8/2001, grimmwerks wrote:
>I won't go into the bits of it, but I needed to create a proplist with a
>property as an integer, as I was going to create a templist of netID's
>and the called URL (for postnettext). Then, when the neterror is
>returned, if it's OK, then it would remove the prop:val from the list,
>else call the url again with a new netid.
>
>Well, this of course gives me lists like: list = [10: theURL], where I
>can only get the value from position ie list[1], rather than list[#10],
>since list[10] returns an error....
>

try:

x = [12: "thing", 3: "hat", 25: "fish"]

put x
-- [12: "thing", 3: "hat", 25: "fish"]

put x.getAProp(12)
-- "thing"

x.deleteProp(12)
put x
-- [3: "hat", 25: "fish"]
-- 

     Roy Pardi
---------------------------------------------------------------
Contract Multimedia Developer   +  Lingo Programmer
                                 [EMAIL PROTECTED]
---------------------------------------------------------------



[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