hi

i was used to be vb 6.0. but now im starting with vb 2010 because 6.0 is old
but now i have a few problems with converting some things for my game that im making.

in 6.0 it was

modPlayer (module)
Code:
Public Player(1 To MAX_PLAYERS) as PlayerRec

Private Type PlayerRec

Name as string
Level as string

End Type
but this code gives in 2010 some errors; it says it should be structures right now?


Code:
Module modPlayerRec

    Public Player(0 To 100) As PlayerRec

    Structure PlayerRec

        Public Name As String

    End Structure

End Module
what should be the right code for vb 2010? this is not working what i have right now..
thanks in advanced!