Modify ↓
Opened on Jan 18, 2009 at 8:53:02 AM
Closed on Jan 18, 2009 at 9:07:14 AM
Last modified on Jan 18, 2009 at 2:38:52 PM
#780 closed Bug (No Bug)
bug with zero
| Reported by: | hunter | Owned by: | |
|---|---|---|---|
| Milestone: | Component: | AutoIt | |
| Version: | 3.3.0.0 | Severity: | None |
| Keywords: | Cc: |
Description
$i=0
If $i="dfdsfds" Then
MsgBox(0,"","This is a bug!")
Else
MsgBox(0,"","No bug.")
Endif
In previous versions such bug was not.
Attachments (0)
Change History (2)
comment:1 by , on Jan 18, 2009 at 9:07:14 AM
| Resolution: | → No Bug |
|---|---|
| Status: | new → closed |
comment:2 by , on Jan 18, 2009 at 2:38:52 PM
Sorry folks, I didn't understand the meaning of FileFindNextFile. Should have added a line like
$file= $rootDir & "\" & $file
Sorry. Peter.
Note:
See TracTickets
for help on using tickets.

I am curious to see which version was OK from your point of view as all official releases and certainly all betas display "This is a bug!".
what AutoIt does is comparing the integer 0 to a converted string to integer.
This conversion always return 1 except when the string is empty.
NO BUG