Modify ↓
Opened on Jan 29, 2008 at 3:58:27 AM
Closed on Jan 29, 2008 at 4:09:45 AM
Last modified on Jan 29, 2008 at 11:38:19 PM
#82 closed Bug (No Bug)
Variable declared on same line = Undeclared
| Reported by: | anonymous | Owned by: | |
|---|---|---|---|
| Milestone: | Component: | AutoIt | |
| Version: | 3.2.10.0 | Severity: | |
| Keywords: | Cc: |
Description
If you try this code:
$str = "Hello" & $str MsgBox(0, "Test", $str)
you will get an error "$str possibly used before declaration"
I understand this would produce an infinite loop, but the variable is technically declared, is it not?
Attachments (0)
Change History (2)
comment:1 by , on Jan 29, 2008 at 4:09:45 AM
| Resolution: | → nobug |
|---|---|
| Status: | new → closed |
comment:2 by , on Jan 29, 2008 at 11:38:19 PM
I thought it as a bug, and in no way a support question.
I thought the bug was that a declared variable was being marked as undeclared.
Note:
See TracTickets
for help on using tickets.

This is a question. The issue tracker is not the place for asking questions. This is clearly not a bug. The variable is in the process of being declared so of course you can't use it in the declaration because it doesn't exist yet.
Mark as no bug. In the future, please refrain from asking support questions (which belong on the forum) on the issue tracker.