I've been through the tutorials for using TYPEs, I just wanted to check something.
Say I create a type:
TYPE thing
field x
field y
End Type
And then I want to create a number of them, I can loop:
For i = 1 to 5
group.thing = New thing
Next
And if I want to access them, I have to loop through them:
For group.thing = each thing
group\x = group\x + 1
Next
What I don't seem to be able to do is create an array of "thing" and access each one directly. In C I would just:
struct MYTHING
{
float x;
float y;
} thing[100];
And access each one directly. . .
thing[36].x = 4.0; etc
Is this not possible with types in BlitzPlus?
Say I create a type:
TYPE thing
field x
field y
End Type
And then I want to create a number of them, I can loop:
For i = 1 to 5
group.thing = New thing
Next
And if I want to access them, I have to loop through them:
For group.thing = each thing
group\x = group\x + 1
Next
What I don't seem to be able to do is create an array of "thing" and access each one directly. In C I would just:
struct MYTHING
{
float x;
float y;
} thing[100];
And access each one directly. . .
thing[36].x = 4.0; etc
Is this not possible with types in BlitzPlus?