Modify ↓
Opened 17 years ago
Closed 17 years ago
#1129 closed Bug (No Bug)
StringIsXDigit is wrong return value.
| Reported by: | 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 , 17 years ago
comment:2 by , 17 years ago
| Resolution: | → No Bug |
|---|---|
| Status: | new → closed |
| 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.
Note:
See TracTickets
for help on using tickets.

and Plus.
StringIsAlpha("A")