Singleton : Fields vs Globals

BlitzMax Forums/BlitzMax Programming/Singleton : Fields vs Globals

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.

Other than being able to access the global before the singleton is instantiated I don't know.

*EDIT*

I suppose a possible reason to use globals rather than fields could be that a module that uses the same singleton class can access them without knowing the name of the instance (but it's not really that useful).