without posting code its hard to see what problems you are having
Well I’m not sure what you mean by ‘user defined array’
All arrays are user defined
To make an array you first need to set the dimensions of an array
Dim nameofarray(sizeofarray)
It would look like:
Dim hitpoints(16)
Or
Dim hitpoints(16,16,16)
Where hitpoints is the name and 16 is the size
To save data to your array
X=1
Hitpoints(x)=10
Or
Hitpoints(x,0,0)=10
Or
Hitpoints(0,x,0)=10
or
Hitpoints(0,0,x)=10
Where x will be the place value for the number 10
To read the array
A=hitpoints(1)
Or
A=hitpoints(1,0,0)
or
A=hitpoints(0,1,0)
or
A=hitpoints(0,0,1)
Where A will be the value that you put in the 1 place
The only time I get the error you get is when I have either called an array position that doesn’t exist or made a typing error with the name of the array
Hope this helps
My advice is free -
unfortunately you get what you pay for (-: