Modules are great

BlitzMax Forums/BlitzMax Programming/Modules are great

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.

I've compiled all my helper functions into BlitzMax modules, and I'm surprised how reliable BlitzMax is. I expected there to be numerous issues and bugs, but everything compiled and runs flawlessly.

I have a few questions:
If a global variable is declared in a module, is it accessible in the main program? How about in other modules that import this module?

If a module has a function set for OnEnd, will that conflict with whatever OnEnd function the user sets?