The following crashes on me:
sync on : sync rate 60
dim test() as string : empty array test()
for i = 0 to 19
array insert at bottom test()
test() = "Item " + str$(i)
print test()
next i
print : print
print "OK there are 20 items in all."
print "lets delete item 10 with: ARRAY DELETE ELEMENT test(),10"
print : print "press any key."
sync : wait key
array delete element test(),10
cls
for i = 0 to array count(test())
print test(i)
next i
print : print
print "OK so far so good. Item 10 is deleted."
print "Now lets insert something at item 4 with: ARRAY INSERT AT ELEMENT test(),4"
print "All items from 4 will be moved down one place to make way for the new item."
print : print "press any key."
sync : wait key
array insert at element test(),4
test(4) = "Inserted Item"
cls
for i = 0 to array count(test())
print test(i)
next i
sync : wait key
end
Programming anything is an art, and you can't rush art.
Unless your name is Bob Ross, then you can do it in thirty minutes.