Is this what you mean and after?
global width=1024
global height=768
// set window properties
SetWindowTitle( "test" )
SetWindowSize( width, height, 0 )
// set display properties
SetVirtualResolution( width, height )
SetOrientationAllowed( 0, 0, 1, 1 )
SetSyncRate( 30, 0 ) // 30fps instead of 60 to save battery
type _test
id as integer
ball as string[10]
endtype
global test as _test[100]
setupvariables()
do
displayvariables()
sync()
loop
function displayvariables()
SetPrintSize(15)
for a=1 to 100
for b=1 to 10
print(str(test[a].id) + " - " + test[a].ball[b])
next
next
endfunction
function setupvariables()
for a=1 to 100
for b=1 to 10
test[a].id = a
test[a].ball[b]="Unit " + str(a) + " -- Ball " + test[a].ball[b]
next
next
endfunction
Damo
Using Tier 1 AppGameKit V2
Started coding with AMOS
Anything is possible if put mind to it