GLBasic forum

Main forum => GLBasic - en => Topic started by: FutureCow on 2009-May-22

Title: 2 Dimensional array of type?
Post by: FutureCow on 2009-May-22
I'm trying to do the following

Code (glbasic) Select
type testtype
   a
   b
end type

dim myarray[][] as testtype


But all the ways I've tried keep having a syntax error. Anyone know how I can create a 2 dimensional array of a type structure?
Title: Re: 2 Dimensional array of type?
Post by: Kitty Hello on 2009-May-22
LOCAL myarray[] as test
DIM myarray[125][278]
Title: Re: 2 Dimensional array of type?
Post by: FutureCow on 2009-May-22
Thanks for the quick reply Gernot!