Hi Guys
Thanks for the advice.
But I don't want to fill myarray2 with the values from myarray1
I just need to know the "size" of myarray1 and then make myarray2 the same size (Programmatically)
Currently I look in my.scene file, and see that myarray1 is 286 (For example)
So i my main.agk I want to make myarray2 the same "size" as myarray1. myarray2 will hold different values than myarray1.
Currently I do it manual
eg:
//in the scene editor after the sprites has been added, myarray1 show
global myarray1 as integer[286] //286 represent all the sprites in the group
//In my main.agk I manual type in
global myarray2 as integer [286]
global myarray3 as integer[286]
//I want to change this for example...
global myarray2 as integer[myarray1.sizeof]
global myarray3 as integer[myarray1.sizeof]