[Gambas-user] Array of structs ?

wally wally at ...2037...
Fri Jul 27 15:49:42 CEST 2012


I would like to use array of structs in gambas3.
Is this possibel at all ?

e.g.

Public Struct P_Type
   X As Float
   Y As Float
End Struct 


Public Pi_ As New P_Type[] 

Pi_.Resize(6)

Pi_[0].X = Val(txb_x0.Text)
Pi_[1].X = Val(txb_x1.Text)
..  a.s.o.

if not, are there alternatives to perform this task

wally




More information about the User mailing list