Program flow etc.

BlitzMax Forums/BlitzMax Beginners Area/Program flow etc.

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.

Functions: Its unimportant where you place them if they are within the same file. BM does not need to see the declaration upfront to know it exists

Global: globals must be defined outside of functions and before you first use them. Globals defined within a function is the same as static in C