Modify ↓
#2581 closed Bug (Fixed)
Dec ( "hex" [, flag = 0] ) Does not respond like before.
| Reported by: | DutchCoder | Owned by: | Jon |
|---|---|---|---|
| Milestone: | 3.3.11.0 | Component: | AutoIt |
| Version: | 3.3.10.1 | Severity: | None |
| Keywords: | Cc: |
Description
It looks as if the optional flag is not responding anymore.
The return value equals 1 for every hex string.
Integer (default mode) still works fine.
Attachments (1)
Change History (5)
Changed 12 years ago by DutchCoder
comment:1 Changed 12 years ago by Melba23
comment:2 Changed 12 years ago by guinness
Confirmed the same results using AutoIt 3.3.10.2 64-bit.
comment:3 Changed 12 years ago by Jon
- Milestone set to 3.3.11.0
- Owner set to Jon
- Resolution set to Fixed
- Status changed from new to closed
Fixed by revision [9428] in version: 3.3.11.0
comment:4 in reply to: ↑ description Changed 10 years ago by anonymous
Replying to DutchCoder:
It looks as if the optional flag is not responding anymore.
The return value equals 1 for every hex string.
Integer (default mode) still works fine.
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.

In fact it is flags 1 & 2 that do not work - flags 0 & 3 still do as shown here:
$nRet = Dec("FFF") ConsoleWrite("0 = " & $nRet & @CRLF) $nRet = Dec("FFF", 1) ConsoleWrite("1 = " & $nRet & @CRLF) $nRet = Dec("FFF", 2) ConsoleWrite("2 = " & $nRet & @CRLF) $nRet = Dec("FFF", 3) ConsoleWrite("3 = " & $nRet & @CRLF)3.3.10.2 returns:
3.3.8.1 returns:
M23