I like to make an array of a user type. This is very common in c c++, For example:
type x
field f1:int
field f2:float
end type
then suppose this is correct:
Local MyArray:x[]
MyArray = New x[100]
MyArray[0].f1 = 1204
MyArray[0].f2= 25.45
I tried something like that but it didn't work. Any idea to do such a thing?
Also, is any Array library available? I don't want to make one if there is one for BlitzMax.
Also, Blitz's site forum search doesn't work, any comment?
type x
field f1:int
field f2:float
end type
then suppose this is correct:
Local MyArray:x[]
MyArray = New x[100]
MyArray[0].f1 = 1204
MyArray[0].f2= 25.45
I tried something like that but it didn't work. Any idea to do such a thing?
Also, is any Array library available? I don't want to make one if there is one for BlitzMax.
Also, Blitz's site forum search doesn't work, any comment?