method and function

BlitzMax Forums/BlitzMax Beginners Area/method and function

@ Shambler
An example of how to get the function working...
Thanks for this example. It really helps beginners like me.

@ denzilquixode
Also, you can call the function from the type itself - mytype.do_function() - instead of calling it from an instance.
Would you mind posting a complete working example of this to help anyone trying to learn this stuff. Thanks