problem with type usage

BlitzMax Forums/BlitzMax Programming/problem with type usage

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.

If you have global someglob:ttype = new ttype this is a const initialize. it won't create a second instance.

I find this useful in Functions :-)

But I didn't realise it would initialise the variable before normal code got to run. I suppose because I've never had code in my functions in front of a Global variable...

Fun fun :o)