what difference method and function?

BlitzMax Forums/BlitzMax Beginners Area/what difference method and function?

A function in a type is a function associated with all of the types, in other words, there is no functionality difference. A function cannot access fields in a type without using a variable holding a type. Methods on the other hand refer to a specific type.

A popular use of functions in types is a "Create" function which creates a type from parameters and returns it.