Are Dim global's etc always placed at the datasection?
Or can I speed it up by doing the following
Code: Select all
DataSection
Dim test.s(100)
For i = 0 To 100
test(i)="nr" +Str(i)
Next i
EndDataSection
OpenConsole()
For i = 0 To 100
Print (test(i) )
PrintN ("")
Next i
Print ("press enter key")
Input()
CloseConsole()
End
Registered Purebasic
--------------------------
C. de Visser
Author of Super Guitar Chord Finder
http://www.ready4music.com
http://www.chordplanet.com
