Modify ↓
#4096 new Bug
0/false is evaluated as empty string when single = is used
| Reported by: | Owned by: | ||
|---|---|---|---|
| Milestone: | Component: | AutoIt | |
| Version: | 3.3.18.0 | Severity: | None |
| Keywords: | Cc: |
Description
; Example #1 Local $iDateCalc= 0 If $iDateCalc == "" Then MsgBox(0,"","EMPTY String") EndIf If $iDateCalc = "" Then MsgBox(0,"",$iDateCalc & " is evaluated as EMPTY String with single '=' ") EndIf ; Example 2 Local $iDateCalc= False If $iDateCalc == "" Then MsgBox(0,"","EMPTY String") EndIf If $iDateCalc = "" Then MsgBox(0,"",$iDateCalc & " is evaluated as EMPTY String with single '=' ") EndIf
Attachments (0)
Note:
See TracTickets
for help on using tickets.
