In the form I'm working on I've created a structure so that I can have arrays that contain a string and an integer.
I then declare my variable
And my problems come when I attempt to populate the arrays
It keeps telling me that MeleeSpecials in the populating part, before ().Abilities and ().Value has a "Declaration Expected" error but I can't figure out why, I've declared it and it's getting quite annoying.
Any help would be great,
Andrew
VB.NET:
Structure SpecialAbilities
Public Abilities As String
Public Value As Integer
End Structure
VB.NET:
Public MeleeSpecials() as SpecialAbilities
VB.NET:
MeleeSpecials().Abilities = { *various strings* }
MeleeSpecials().Value = { *various integers* }
Any help would be great,
Andrew