Just out of pure curiosity

Blitz3D Forums/Blitz3D Beginners Area/Just out of pure curiosity

Tau_Aquilae(Posted 2011) [#1]
Is there anything case sensitive in Blitz3D?


Hotshot2005(Posted 2011) [#2]
There is no Case Sensitive as far as I am aware :)


Tau_Aquilae(Posted 2011) [#3]
I usually treat everything like it is case sensitive (I worked with Java before this)


Yasha(Posted 2011) [#4]
Nothing wrong with acting like it is when it isn't... all you're doing is making things easy to read, which is good!

In general, I figure that well-written code should use consistent capitalization and avoid case-duplicated names, in any language, for the sake of optimum clarity (I know some people have conventions about constructors and so on...).

Anyway if you use IDEal (am I sounding repetitive about IDEal?) it will automatically correct your capitalization to match your declarations, on all names (variables, types and functions - not just builtins).


Tau_Aquilae(Posted 2011) [#5]
ok and IDEal looks cool! I'll give it a whirl


_PJ_(Posted 2011) [#6]
I think some more unusual commands are case sensitive like:

SystemProperty()
EntityClass()

Though, since there are such a limited range of appropriate arguments for these commands, it shouldn't be too difficult to returieve the correct case from the relevant Help files.

As for names of Variiables or such, there is no case-sensitivity:

Global myvar
and
Global MyVar
would result in a duplication error, for example.