Two types need to know about each other

BlitzMax Forums/BlitzMax Beginners Area/Two types need to know about each other

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.

I have each type in a seperate Inlude file
Dont. Simple as that. If you need this sort of cyclic refferances, then put them in the same file simple as.

Mind you it is stupid. Type A contains a Type B, which contains a Type A, which contains a Type B, which contains a Type A, which contains a Type B, which conatains a Type A, which etc (But I assume that it was just your example to show each type referanceing the other)