Modify

Opened 18 years ago

Closed 18 years ago

Last modified 18 years ago

#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 Valik, 18 years ago

Resolution: nobug
Status: newclosed

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.

comment:2 by anonymous, 18 years ago

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.

Modify Ticket

Action
as closed The ticket will remain with no owner.

Add Comment


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