Okey, in the code i'm not missing the ; - just missed it when I wrote this

and I checked the index value and it adds one every time a new green mineral is created.
But what I didn't perhaps mention is that i want this to work in C-lite and not C-script as i'm using A7.
I tried calling a few of them after I had 9 minerals (index = 9)
with moveG(3) and moveG(5) but no dice.
But what is a nullpoint error? and how do I know if I got me one of those?

thanks for the help