Modify

Opened 15 years ago

Closed 15 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 Changed 15 years ago by admin@…

and Plus.

StringIsAlpha("A")

comment:2 Changed 15 years ago by Valik

  • Resolution set to No Bug
  • Status changed from new to closed
  • Summary changed from StringIsXDigit is worng return value. to 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.

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 ticket will remain with no owner.
Author


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

 
Note: See TracTickets for help on using tickets.