What does the double less-than sign mean?


i came across when looking @ panel class:

 

private static const layout_property_flag:uint = 1 << 1;

 

could tell me "<<" means here?

 

thanks.

left shift

 

http://help.adobe.com/en_us/flashplatform/reference/actionscript/3/operators.html#bitwise_ left_shift

 

the constant (it evaluates 2) going used bit mask, developer emphasises using shift notation. have written 2 in place of expression.



More discussions in Flex (Read Only)


adobe

Comments

Popular posts from this blog

How to change text Component easybook reloaded *newbee* - Joomla! Forum - community, help and support

After Effect warning: A problem occurred when processing OpenGL commands

Preconditions Failed. - Joomla! Forum - community, help and support