Declaring Local and Global in a function

BlitzMax Forums/BlitzMax Programming/Declaring Local and Global in a function

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.

globals have a little slower access time, which might make a difference for some stuff and not for other things. Its never an intelligent idea to use "calculation variables" of type int / float globals if you perform math operations on them, as this is the situation with the worst impact.