Declaring Local and Global in a function

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

Hmm, I didn't realise you could declare globals inside a function. That's quite unusuaul.

Has anyone else noticed you can create 'Const' variables inside a type that aren't global? I wonder if they're created for each instance for a type or are simply just replaced as numbers because you can't access them globally outside the type.

PS Grey Alien, NEVER make a function inside a function, that is just plain wrong :)