This is actually 2 questions..
1) Can i DIM an array as a TYPE?
Type MyType
MyVar1 as integer
MyVar2(900) as single
End Type
DIM MyArray(1 to 10) as MyType
well when i do the above i get an error on a statement like this
MyArray(3).MyVar1 = x
2) I want to use GET & PUT for animation on a game i'm making
But when i try using an Array w/in a type it says it's a Syntax Error
Type MyType
MyPic(900)
etc...
End Type
DIM MyPictureType as MyType
Get (0,0)-(30,30), MyPictureType.MyPic <-- however this works fine using a normal array (not within a Type)
any help will be appriciated
Kevin
1) Can i DIM an array as a TYPE?
Type MyType
MyVar1 as integer
MyVar2(900) as single
End Type
DIM MyArray(1 to 10) as MyType
well when i do the above i get an error on a statement like this
MyArray(3).MyVar1 = x
2) I want to use GET & PUT for animation on a game i'm making
But when i try using an Array w/in a type it says it's a Syntax Error
Type MyType
MyPic(900)
etc...
End Type
DIM MyPictureType as MyType
Get (0,0)-(30,30), MyPictureType.MyPic <-- however this works fine using a normal array (not within a Type)
any help will be appriciated
Kevin
Comment