JamesL at Lugoj.Com
Sat Jul 21 01:47:47 CEST 2001
Dan Bergan wrote:
> > 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
> I think you missed my point a bit. VB would NOT correct the typo (because
> it does not match a variable name that is already declared). So, I use the
> fact that it was NOT corrected as a flag that I screwed something up.
Sorry, missed that.
More information about the Python-list