Modify ↓
      
        Opened 12 years ago
Closed 12 years ago
#2435 closed Bug (No Bug)
Different behaviour between "=" and "=="
| Reported by: | binhnx89@… | Owned by: | |
|---|---|---|---|
| Milestone: | Component: | AutoIt | |
| Version: | 3.3.8.1 | Severity: | None | 
| Keywords: | Cc: | 
Description
It's different result when use "=" or "==" to compare string value with an integer number of 0:
Local $sTest = "test"
ConsoleWrite($sTest == 0) ; True
ConsoleWrite($sTest = 0) ;False
Attachments (0)
Change History (1)
comment:1 Changed 12 years ago by Melba23
- Resolution set to No Bug
 - 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.
    
No bug - see 2434