Modify

Opened 16 years ago

Closed 16 years ago

#1505 closed Bug (Fixed)

Variable not declared in IE.au3

Reported by: Richard Nichols <nospam4rdn-autoit@…> Owned by: J-Paul Mesnage
Milestone: 3.3.7.0 Component: AutoIt
Version: 3.3.4.0 Severity: None
Keywords: Cc:

Description

If the "MustDeclareVars" option is set then the following error is generated when _IEFormElementOptionSelect() is called with the selection "byIndex":

C:\Program Files\AutoIt3\Include\IE.au3 (1419) : ==> Variable used without being declared.:
$oItem = $oItems.item($i_index)
^ ERROR

Simply prefixing line 1419 with the keyword "Local" fixes the problem.

Attachments (0)

Change History (1)

comment:1 by J-Paul Mesnage, 16 years ago

Milestone: 3.3.7.0
Owner: set to J-Paul Mesnage
Resolution: Fixed
Status: newclosed

Fixed by revision [5774] in version: 3.3.7.0

Modify Ticket

Action
as closed The owner will remain J-Paul Mesnage.

Add Comment


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