I want a type that i can "assign" to another type when i create it. Say i'm making a gui and i have a window type which has some gadgets types assigned to it, it would be nice to just loop through the needed gadgets for this one window when i'm updating it.
And maybe this will help to understand what i want:
And maybe this will help to understand what i want:
Type window Field x, y End Type Type gadget Field x, y End Type w.window = New window w\x = 32 w\y = 32 w.gadget = New gadget w\x = 24 w\y = 24Or something like that, i have no idea how to do this :/