Modify

Opened 15 years ago

Closed 15 years ago

#1505 closed Bug (Fixed)

Variable not declared in IE.au3

Reported by: Richard Nichols <nospam4rdn-autoit@…> Owned by: Jpm
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.

Change History (1)

comment:1 Changed 15 years ago by Jpm

  • Milestone set to 3.3.7.0
  • Owner set to Jpm
  • Resolution set to Fixed
  • Status changed from new to closed

Fixed by revision [5774] in version: 3.3.7.0

Guidelines for posting comments:

  • You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
  • In-depth discussions should take place on the forum.

For more information see the full version of the ticket guidelines here.

Add Comment

Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.