I think Lee would probably like to avoid adding reference types, etc. to the language. A much simpler change could be to allow things like this:
+ Code Snippetfor i in myarray[]
myarray[i] = 1 `Do something to element
next i
It only introduces one keyword ("in <array>") which translates directly into "= 0 to <length of array>" and doesn't require changes to the AppGameKit player.
The next thing that is definitely needed is the "continue" and "redo" commands to complement the "exit" command. "continue" should jump to the next iteration of a loop. "redo" should jump to the start of the current iteration.
"continue" allows you to skip a loop without having loads of nested if statements:
+ Code Snippetfor i in myarray[]
` Skip cases where myarray[i] is negative
if myarray[i] < 0 then continue
` Do stuff
next i
"redo" allows you to easily delete from an array while looping through it:
+ Code Snippetfor i in myarray[]
if myarray[i] = 1
delete myarray[], i
redo
endif
next i