Re: lingo-l string 2 variable??

2000-11-16 Thread Neil Madsen
There's also a shortcut, if you know your way around, which is: on doit myList =[] setAt(myList, 100, 0) end Don't forget this shortcut on doit myList = [] myList[100] = 0 end But either way, you now have a list with 100 slots initialized to 0. Later. ...Neil [To remove

Re: lingo-l string 2 variable??

2000-11-16 Thread Tab Julius
Technically it's the same call, just different syntax. As opposed to using the loop, which is actually a different technique. At 07:26 AM 11/16/00 -0800, Neil Madsen wrote: There's also a shortcut, if you know your way around, which is: on doit myList =[] setAt(myList, 100, 0) end

Re: lingo-l string 2 variable??

2000-11-15 Thread Fumio Nonaka
Hi Jason, Try to modify one statement like the below. _ Jason Merav wrote: I want create 100 variables called 'var1', 'var2' 'var100'. my handler currently reads : on doit repeat with i = 1 to 100 do "var"i "= 0" end repeat end but Lingo doesn't like the fact

Re: lingo-l string 2 variable??

2000-11-15 Thread Luke Wigley
Jason Merav wrote Hi, I want create 100 variables called 'var1', 'var2' 'var100'. my handler currently reads : on doit repeat with i = 1 to 100 "var"i = 0 end repeat end but Lingo doesn't like the fact that my code is trying to set a string ... not a variable. Is there a

RE: lingo-l string 2 variable??

2000-11-15 Thread Jason Merav \(BTinternet\)
'do' eh! Thank you for that! Jason. [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

Re: lingo-l string 2 variable??

2000-11-15 Thread Luke Wigley
Fumio Nonaka wrote You do not need 'repeat' loop. ;-) Hi Fumio, true -- but I reckons its a little less intuitive than explicitly setting each list entry. PS -- I was loitering around updateStage's quirk list and clicked a link to Attain's website - and noticed you guys did a port of