duzers Posted November 21, 2010 Posted November 21, 2010 Hello, How to change Javascript operators "|=","&=" and "<<" ? Javascript comands: List |= 1 << 20; // Add List &= !(1 << 20); // Remove Thx for help.
Richard Robertson Posted November 21, 2010 Posted November 21, 2010 This forum is for AutoIt support, not Javascript support.
duzers Posted November 21, 2010 Author Posted November 21, 2010 This forum is for AutoIt support, not Javascript support.Yes, but I try to transfer code JS to AutoIt.
ProgAndy Posted November 21, 2010 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
Richard Robertson Posted November 22, 2010 Posted November 22, 2010 I misunderstood then. ProgAndy is right.
duzers Posted November 22, 2010 Author Posted November 22, 2010 Try to use BitShift, BitOr, BitAnd, BitNot ... ...and work ok$list=bitor($list,bitshift(1,-20))
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