duzers Posted November 21, 2010 Share Posted November 21, 2010 Hello, How to change Javascript operators "|=","&=" and "<<" ? Javascript comands: List |= 1 << 20; // Add List &= !(1 << 20); // Remove Thx for help. Link to comment Share on other sites More sharing options...
Richard Robertson Posted November 21, 2010 Share Posted November 21, 2010 This forum is for AutoIt support, not Javascript support. Link to comment Share on other sites More sharing options...
duzers Posted November 21, 2010 Author Share Posted November 21, 2010 This forum is for AutoIt support, not Javascript support.Yes, but I try to transfer code JS to AutoIt. Link to comment Share on other sites More sharing options...
ProgAndy Posted November 21, 2010 Share Posted November 21, 2010 Try to use BitShift, BitOr, BitAnd, BitNot ... *GERMAN* [note: you are not allowed to remove author / modified info from my UDFs]My UDFs:[_SetImageBinaryToCtrl] [_TaskDialog] [AutoItObject] [Animated GIF (GDI+)] [ClipPut for Image] [FreeImage] [GDI32 UDFs] [GDIPlus Progressbar] [Hotkey-Selector] [Multiline Inputbox] [MySQL without ODBC] [RichEdit UDFs] [SpeechAPI Example] [WinHTTP]UDFs included in AutoIt: FTP_Ex (as FTPEx), _WinAPI_SetLayeredWindowAttributes Link to comment Share on other sites More sharing options...
Richard Robertson Posted November 22, 2010 Share Posted November 22, 2010 I misunderstood then. ProgAndy is right. Link to comment Share on other sites More sharing options...
duzers Posted November 22, 2010 Author Share Posted November 22, 2010 Try to use BitShift, BitOr, BitAnd, BitNot ... ...and work ok$list=bitor($list,bitshift(1,-20)) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now