|
Post by turbov21 on Oct 19, 2007 20:30:14 GMT -5
Can you declare an array using variables?
x = 100 dim list$(x)
|
|
|
Post by Janet on Oct 19, 2007 21:40:41 GMT -5
Are you having a different problem? This works in both the public and the private server.
x = 100 dim list$(x) For i = 1 to 100 list$(i) = Str$(Int(Rnd(1) * 100) + 1) Print list$(i) Next i End
|
|
|
Post by turbov21 on Oct 19, 2007 22:06:23 GMT -5
Yeah, I forgot to fix this. I forgot to increment my counter, so it was oveflowing (I believe). Thank you.
|
|