Types in array
Blitz3D Forums/Blitz3D Beginners Area/Types in array
| ||
Can i make a type that is a array. If i make a array its simply using Dim MyArry(xx) But how do i make a type the same way. I want to pinpoint the type i'am using somthing like Type MyType Field Blackboard Field Whiteboard Field PiecelocX Field PiecelocY Field PieceId End Type And then creating a new type in a arry PieceType(10).MyType = New MyType i know you can make a lot of types but then i do not know where the right one is. Therefor i wil using a array. |
| ||
Dim PieceType.myType(10) For N = 0 to 10 PieceType(N) = New MyType Next PieceType(4)\PiecelocX = Whatever |
| ||
Thanks for the info |