Great thanks.
[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!]
Hi Szymek,
Initialize nested lists, too.
_
Szymon Drejewicz wrote:
>
> Why this is not working:
> -
> on bleble
> t = []
> repeat with i=1 to 200
t.append([])
> repeat with j=1 to 200
> t[i][j] = random(10)
> end repeat
> end repeat
> end
Why this is not working:
-
on bleble
t = []
repeat with i=1 to 200
repeat with j=1 to 200
t[i][j] = random(10)
end repeat
end repeat
end
-
and error occurs:
Script error: Index out of range
t[i][j] = random(10)
?
Szym