I can't figure out how to set up a multidimensional array as a type without the keyword dim. I am getting an error that "this must be a literal integer".
Is this possible?
This works, but I would really like to not make this a global array.
nx = Grid.SizeX // for some reason I have to change variables out of a type
nz = Grid.SizeZ // for some reason I have to change variables out of a type
dim pf_Node[nx,nz] as pf_grid
This doesn't
nx = Grid.SizeX // for some reason I have to change variables out of a type
nz = Grid.SizeZ // for some reason I have to change variables out of a type
pf_Node as pf_grid[nx,nz] // I get an error that this must be a literal integer
edit: These are defined as integers
type grid
node_dmr as float
SizeX as integer
SizeZ as integer
endtype
Thanks!