I tried to make a simple code to show you how arrays worked (not user defined though). But the plan backfired
for some reason it only writes in the first element of the array.
Now im stuck as well
hehe, yet im not good enough to teach... any REAL darkbasic programmer who can figure this out?
Sync on
sync rate 60
rem the number of enemies to use
howmany=9
dim enemy(howmany)
Do
set cursor 100,100
print "Values are now:"
for x=0 to howmany
print enemy(x)
next x
Input "Which enemy do you want to alter? ", whichone
Input "Enter new value: ", enemy(5)
sync
cls
Loop
Dreaming of creating a highly advanced AI mind