No, variables in a function should not be local by default - how would that work?
It's the same in BlitzMax - although with Strict on, if you use the function before the Global exists in your code, it will complain. However yes, sswifty should have used Local for maximum reusability (having written so many libraries, it's weird that he didn't).
Global PlayerLives Function KillPlayer( ) PlayerLives = PlayerLives - 1 End Function
It's the same in BlitzMax - although with Strict on, if you use the function before the Global exists in your code, it will complain. However yes, sswifty should have used Local for maximum reusability (having written so many libraries, it's weird that he didn't).