At 3:01 PM -0500 11/22/05, you wrote:
>>Just wondering, is there a lingo equivalent to lastIndexof? I can't
seem to think of what it would be?
is it the # of the last element in a list?
It didn't use to be, but it is now -- I just checked. The following code:
t = []
t[255] = "test"
...fills the list with zeros as values for t[1] to t[254]
???
this trick is the same as it ever was = the easiest way to zero a list ...
tList = []
tList[100] = 0 -- sets the first 100 elements = 0
but I don't see how this is relevant.
BTW - Tom, did you get elected?
-Buzz
So, I guess the "lingo equivalent to lastIndexof" is count(list)...
[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!]
[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!]