Welcome to the Parallax Discussion Forums, sign-up to participate.
Roy Eltham wrote: »
BSTC isn't as strict about things as the official PropTool compiler. It also has features that don't work on PropTool.
Technically the problems are with BSTC and your code using unofficial things (like the comma's in the enum, or using a local variable with the same name as a global). These are not problems with PropTool.
The local vs global variable one is something that I would consider a bug in BSTC, because it makes the code confusing to read. Plus, how are you supposed to access the global variable from the function that has a local of the same name?
Of course, I'm sure BSTC regards it as a feature, but it's a bad one.