Regarding variables and stuff

Blitz3D Forums/Blitz3D Beginners Area/Regarding variables and stuff

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.

It's worth noting that variables are Local by default. Even those outside of any Functions, which are only known by the main program. If anything needs to be known inside a Function from outide of it, then variables need to be defined as Global at the beginning of your code.

The only time I use Local is when defining a Blitz array for use within a Function.