Learning Object-Oriented Programming in Blitzmax

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

Functions relate to the type object while methods refer to an instance of it.
The most obvious function is create() as we don't have an instance when we use it. Createlist for example is a function relating to TList while Addlast is a method relating to a specific list.
A function is best put inside a type when it performs an action against that type.
The Beginner's Guide has a section on Functions/Methods which is better than this garbled reply I've hacked together.