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





------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to