Modify ↓
Opened 17 years ago
Closed 17 years ago
#589 closed Bug (Fixed)
mixed compare result, bools and values.
| Reported by: | anonymous | Owned by: | Valik |
|---|---|---|---|
| Milestone: | 3.2.13.8 | Component: | AutoIt |
| Version: | 3.2.13.7 | Severity: | None |
| Keywords: | compare bool result | Cc: |
Description
;; AutoIt Version: 3.2.12.1 / 3.2.13.7
ConsoleWrite('(1=1) = ' & (1=1) & @CRLF)
ConsoleWrite('(1<>1) = ' & (1<>1) & @CRLF)
ConsoleWrite('(1=2) = ' & (1=2) & @CRLF)
ConsoleWrite('(1<>2) = ' & (1<>2) & @CRLF)
ConsoleWrite('(1<2) = ' & (1<2) & @CRLF)
ConsoleWrite('(1>2) = ' & (1>2) & @CRLF)
ConsoleWrite('(1<=2) = ' & (1<=2) & @CRLF)
ConsoleWrite('(1>=2) = ' & (1>=2) & @CRLF)
#cs
Output:
(1=1) = True
(1<>1) = False
(1=2) = False
(1<>2) = True
(1<2) = 1
(1>2) = 0
(1<=2) = 1
(1>=2) = 0
Comment1: kinda expected all the tests to return real-Bools.
Comment2: I know, Trivial.
#ce
Attachments (0)
Change History (1)
comment:1 Changed 17 years ago by Valik
- Milestone set to 3.2.13.8
- Owner set to Valik
- Resolution set to Fixed
- Status changed from new to closed
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.

Fixed in version: 3.2.13.8