Types Advanced

Blitz3D Forums/Blitz3D Beginners Area/Types Advanced

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

My question is could you do this.

type red
field r,g,b
end type
type color
field color1.red
end type
color2.color = new color
color2\color1\r = 255
color2\color1\g = 0
color2\color1\b = 0

Does it work? im guessing not but i am curious