Declaring Local and Global in a function

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

swift: OK I get it, the global is persistant. btw, you *CAN* access the global in the function inside the function, that was the point of the post (my code example above works you see) and to find out how slow globals were compared to locals when the globals are declared in a function instead of in the main app.