Ah yes, Now i see need to use ARRAY INSERT AT BOTTOM Array Name(0)
if spacekey()=1
inc arraysize
inc index
ARRAY INSERT AT BOTTOM Arraysize()
input "x value: ",test(index).x
input "y value: ",test(index).y
input "value: ",test(index).value
endif
type testtype
x as integer
y as integer
value as integer
endtype
global arraysize=1
global index=0
dim test(arraysize) as testtype
test(index).x=20
test(index).y=20
test(index).value=868
do
if spacekey()=1
inc arraysize
inc index
rem new line added *********************
ARRAY INSERT AT BOTTOM test()
input "x value: ",test(index).x
input "y value: ",test(index).y
input "value: ",test(index).value
endif
if controlkey()=1
input "array index you wish to view: ",index
cls
print test(index).x
print test(index).y
print test(index).value
endif
sync
loop
more info on page 32 of the small User Manual if you have it.
In Space No One can Hear You Scream! (When your comm Line is cut?)