View Full Version : code symbols in AS3
jerdunham
01-21-2009, 08:52 PM
I am currently reading "Learning Actionscript 3.0 A Beginners Guide". While I understand most of it, the author declines to mention what symbols like +=, !+, and -- mean. Therefore I cannot figure out how = is different from += or ==. As someone who is new to coding this is really frustrating as I cannot completely understand the code in the book. Is there a glossary of these type of symbols somewhere? So far Google hasn't been able to help me out on this. Any help would be appreciated.
Thanks
senocular
01-21-2009, 08:56 PM
You can get a summary of each in the ActionScript language reference:
http://livedocs.adobe.com/flex/3/langref/operators.html
If you have any additional, specific questions, just ask them here : )
jerdunham
01-21-2009, 09:58 PM
Thanks so much! This explains almost everything. The only thing I can't find on there is !=. Do you know what this means?
Thanks
senocular
01-21-2009, 10:13 PM
Thats there:
http://livedocs.adobe.com/flex/3/langref/operators.html#inequality
Basically its the opposite of ==. If == returns true when two values or expressions equal each other, != will return false. == is equality, != is inequality. Often when you see "!" in languages its a 'not'. So in the case of !=, its essentially 'not equal'
jerdunham
01-23-2009, 12:56 AM
I see it now. Thanks so much for your help.
|
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.