Modify ↓
Opened 2 years ago
Closed 2 years ago
#3897 closed Bug (Duplicate)
incorrect arithmatic with Hex notation
Reported by: | anonymous | Owned by: | |
---|---|---|---|
Milestone: | Component: | AutoIt | |
Version: | 3.3.16.0 | Severity: | None |
Keywords: | Cc: |
Description
When you try to subtract using hex notation, the values end up being added.
The problem occurs in 3.3.16.0, x32 & x64.
Tested in win10 & win7.
v3.3.14.5 seems to work as expected.
ConsoleWrite(0x04 - 0x02 & @CRLF) ;returns 6
ConsoleWrite(4 - 0x02 & @CRLF) ;returns 6
;these seem to be ok.
ConsoleWrite(0x04 - 2 & @CRLF) ;returns 2
ConsoleWrite(0x04 - Int(0x02) & @CRLF) ;returns 2
ConsoleWrite(0x04 + 0x02 & @CRLF) ;returns 6
ConsoleWrite(0x04 / 0x02 & @CRLF) ;returns 2
ConsoleWrite(0x04 * 0x02 & @CRLF) ;returns 8
Attachments (0)
Change History (1)
comment:1 Changed 2 years ago by Jpm
- Resolution set to Duplicate
- Status changed from new to closed
Guidelines for posting comments:
- You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
- In-depth discussions should take place on the forum.
For more information see the full version of the ticket guidelines here.
Note: See
TracTickets for help on using
tickets.
fixed with #3876 for 3.3.16.1