Mr X,
Below is a simple example program that you can copy and paste and run. Look over the source code. This will be helpful just in case you don't quite understand.
REM << preparations
set display mode 800,600,32
sync on
sync rate 60
REM << create array;100 is how many 'slots' it holds(check help files for more information)
dim numbers(100)
REM << fill array
for t = 1 to 100
numbers(t) = t * 2
next t
REM <<<<<<< main loop >>>>>>>>
repeat
REM << print value in each slot of array to screen
x = 0
y = 0
for t = 1 to 100
text x,y,str$(t) + " = " + str$(numbers(t))
REM << print text below eachother
inc y,15
REM << if text gets to bottom of screen then move the next texts over a bit to the right and start its printing back at top
if y > 585
inc x,150
y = 0
endif
REM << print explanation at end of values
if t = 100 then text x,y,"All values have been multiplied by 2"
next t
sync
until mouseclick() > 0
end
+NanoBrain+