Modify

Opened 17 years ago

Closed 17 years ago

#1129 closed Bug (No Bug)

StringIsXDigit is wrong return value.

Reported by: admin@… Owned by:
Milestone: Component: AutoIt
Version: 3.3.0.0 Severity: None
Keywords: StringIsXDigit, String Cc:

Description

MsgBox(64, Default, "A is Hex? = " & StringIsXDigit("A"))
MsgBox(64, Default, "A is Hex? = " & StringIsXDigit("A"))
MsgBox(64, Default, "Same? = " & (Binary("0xAA") = Binary("0xAA")))

..?

It's report

  • A is Hex? = 1
  • A is Hex? = 1 (A -> A)
  • Same? = False

i think it's bug.

A == A? not same.

Attachments (0)

Change History (2)

comment:1 by admin@…, 17 years ago

and Plus.

StringIsAlpha("A")

comment:2 by Valik, 17 years ago

Resolution: No Bug
Status: newclosed
Summary: StringIsXDigit is worng return value.StringIsXDigit is wrong return value.

The return value is correct for the current implementation. If a UNICODE character corresponds to one of the hex-digits then the return value is true.

Modify Ticket

Action
as closed The ticket will remain with no owner.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.