function and methods

BlitzMax Forums/BlitzMax Programming/function and methods

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.

They both can be used to save namespace, so why not just use only methods and save the function for creating instances only?

As well as constuctors, and more inportantly, Functions dont need ANY instance of the type.

So, prep work for the type,
Changing GLobals of the type. etc

ALso, as said, working on the WHOLE type

So, counting thro the types list
Freeing all instances of the type
Adding all the values of some field togther etc