Modify

Opened 11 years ago

Closed 11 years ago

Last modified 9 years ago

#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)

RealDec.au3 (802 bytes) - added by DutchCoder 11 years ago.

Download all attachments as: .zip

Change History (5)

Changed 11 years ago by DutchCoder

comment:1 Changed 11 years ago by Melba23

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:

0 = 4095
1 = 1
2 = 1
3 = 2.0231988197199e-320

3.3.8.1 returns:

0 = 4095
1 = 4095
2 = 4095
3 = 2.0231988197199e-320

M23

comment:2 Changed 11 years ago by guinness

Confirmed the same results using AutoIt 3.3.10.2 64-bit.

comment:3 Changed 11 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 9 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.

Add Comment

Modify Ticket

Action
as closed The owner will remain Jon.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.