Custom Type question

BlitzMax Forums/BlitzMax Beginners Area/Custom Type question

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.

Type example
   global alpha:float ' this global only exists within type
                      ' and is shared for all instances
                      ' can be accessed from outside with example.alpha

end type


thats the only possibility and is exactly there for what you want it to use. (most common use is a list to which all instances are added ... for simple instance management a la B3D)

There are as well type constants btw if you need them for something.