Inheriting a Global variable - One for all?

BlitzMax Forums/BlitzMax Beginners Area/Inheriting a Global variable - One for all?

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.

Sorry, it's been a while since I used BMax, and playing with C# has just left me muddling up BMax and C#.

When you have an Abstract Type which has a Global in it, and then have three other types which extend that base type.. there is one Global variable shared between all three derived types, right? If I want a global variable in each type, separate from the others, I have to put it in each, and not try to inherit it, right?