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.

I believe functions inside functions are messed up. I would like them to be supported.

But this:
Function DO()
	Global x[9]
EndFunction


is faster than this becuase the array doesn't need to be reallocated every time.
Function DO()
	Local x[9]
EndFunction