Learning Object-Oriented Programming in Blitzmax

BlitzMax Forums/BlitzMax Tutorials/Learning Object-Oriented Programming in Blitzmax

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.

Right, one thing I don't understand. The end section on Static Functions.

I understand how the code works, I just don't understand the purpose of putting a function inside a type. Surely that is just a renamed 'method'?

What is the difference?

Also, when is it right to use a method, or a function? and when should you put a function insdie a type, as opposed to having it outside?