Is "BType" some kind of reserved keyword?

BlitzMax Forums/BlitzMax Beginners Area/Is "BType" some kind of reserved keyword?

Michiel(Posted 2011) [#1]
I'm running into problems that I can't quite explain which have everything to do with the naming of user defined types. Please consider the following code:



This code doesn't work and generates an exception access violation when run. If I change the name BTYpe to BType2 as follows:



it does work. Which leaves me wondering: is BType a name I'm not supposed to use or am I missing something else here?


Brucey(Posted 2011) [#2]
In BlitzMax, bType and BType are the same - BlitzMax is not case sensitive.
So you cannot have a variable with the same name as a type, for example.


Michiel(Posted 2011) [#3]
Thanks a lot Brucey! Another dazzling beginner's problem solved :D