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 by Valik, 17 years ago

Milestone: 3.2.13.8
Owner: set to Valik
Resolution: Fixed
Status: newclosed

Fixed in version: 3.2.13.8

Modify Ticket

Action
as closed The owner will remain Valik.

Add Comment


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