I decided on another way of doing the code.. results are the same, but this way will use an added function I made.. I STILL would really appreciate an answer or explanation how to make a multi-dimensional array of a class or structure object.. thx in advance
Code:
Private B29InZones(MAXTARGETS) As B29.inZone
Public Structure inZone
Public Zone10 As Integer
Public Zone11 As Integer
just looked target(i)=new b29.objective should be right under the first loop.. just thought i would add that comment before someone corrected me... no edit on this forum it would appear:(
I'm writing a game in visual basic 2008 and things are going fairly well with it for the most part.. well until today.. I can declare a 1 dimensional array of a class just fine but cannot for the life of me get the syntax right for a multidimensiona l array. I usually don't have many issues in writing in VB but this is the first large scale program I have ever written in VB2008 and the 1st large scale uses of classes in VB as well
Leave a comment: