Case insensitivity

James Logajan JamesL at Lugoj.Com
Fri Jul 20 19:18:32 CEST 2001


Dan Bergan wrote:
> (Declare the variable in mixed-case)
> Dim myVariable as Integer
> 
> (then I purposely type in the wrong case when I use 'myVariable')
> myvaraible = 1  '<==TYPO!

Well, if you "correct" that to myVaraible you would still be in error,
because you accidentally exchanged "ia" with "ai" in addition to changing
"V" to "v". Python will not inform you about about some typos, whether
case-related, dropped characters, exchanged characters, or added characters.



More information about the Python-list mailing list