Modify

Opened 7 years ago

Closed 7 years ago

#2195 closed Bug (Duplicate)

AutoIT crashes when return variable has the same name as array

Reported by: anonymous Owned by:
Milestone: Component: AutoIt
Version: 3.3.8.0 Severity: None
Keywords: Cc:

Description

Example Code crashes AutoIT:

Dim $A[2]
For $i = 1 To 2
	$A[$i] = TestFunc("Hello")
Next
MsgBox(4096,"Hello", "again")

Func TestFunc ($B)
	$A = $B
	Return $A
EndFunc

Attachments (0)

Change History (1)

comment:1 Changed 7 years ago by trancexx

  • Resolution set to Duplicate
  • Status changed from new to closed

See #1551.

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

Modify Ticket

Action
as closed The ticket will remain with no owner.
Author


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

 
Note: See TracTickets for help on using tickets.