You can't compile a module through the standard BlitzMax compile. You need to use "Build Modules" from the IDE menu or "bmk makemods" from the command line.
What you've basically done by commenting the Module command is compile the program as a standard binary (.exe) file, then when you uncommented the Module command and used makemods, you just recompiled the module over again correctly. You can eliminate the first step completely.
What you've basically done by commenting the Module command is compile the program as a standard binary (.exe) file, then when you uncommented the Module command and used makemods, you just recompiled the module over again correctly. You can eliminate the first step completely.