[Gambas-user] array of classes
Shane
buster6seven at ...626...
Sun Jul 3 10:20:15 CEST 2016
I'm trying create a array of myClass but when i create it i have an
array of null values
i have my Rect.class
Public x As Integer
Public y As Integer
Public width As Integer
Public height As Integer
then my Block.class
Public Screenpos As New Rect
Public Imagepos As New Rect
Public num_hits As Integer
and then in the main module i do
Public Blocks As New Block[MAX_BLOCKS]
and i get an array with Max_BLOCKS indexes on null values
what am i doing wrong
thanks Shane
More information about the User
mailing list