multidimensional array: alternative?
#3

Quote:
Originally Posted by Vince
View Post
I think it's:
pawn Code:
Enum[idx][E_DATA][idx] = someValue;
Otherwise make a normal three dimensional array.
My bad I didn't put it in the post. The errors for that case are as followed:

Code:
C:~PATH~/~INCLUDE~.inc(45) : warning 213: tag mismatch
C:~PATH~/~INCLUDE~.inc(45) : error 032: array index out of bounds (variable "Enum")
C:~PATH~/~INCLUDE~.inc(52) : error 008: must be a constant expression; assumed zero
C:~PATH~/~INCLUDE~.inc(52) : error 009: invalid array size (negative, zero or out of bounds)
C:~PATH~/~INCLUDE~.inc(52) : error 036: empty statement
C:~PATH~/~INCLUDE~.inc(52) : fatal error 107: too many error messages on one line
Reply


Messages In This Thread
multidimensional array: alternative? - by Sinner - 02.08.2012, 12:36
Re: multidimensional array: alternative? - by Vince - 02.08.2012, 12:40
Re: multidimensional array: alternative? - by Sinner - 02.08.2012, 12:41

Forum Jump:


Users browsing this thread: 2 Guest(s)