PDA

View Full Version : WTG!? Actionscript NOT case sensitive??



mindfriction
April 28th, 2003, 02:57 AM
I have been working on a large sized movie lately and found that I was getting some unknown errors. So naturally I placed trace statements, still I had no idea what was going on. Then low- and -behold I noticed that I had two varaibles one name xPos the other Xpos. Now of course noramally I would assume like other programming languages such as java and C++ variables are case sensitive. I found that If I assigned xPos a value and wrote a trace statement (with different case) ie


trace(Xpos)

I would get the value of xpos.

IS this normal ?

reverendflash
April 28th, 2003, 02:58 AM
yup!

AS is not case sensitive...

Revhttp://www.aulman.com/rev.gif

mindfriction
April 28th, 2003, 08:12 AM
*slaps self*

I should have found this out earlier. Thanks anyway :)