Opened 10 years ago

Closed 3 years ago

#2695 closed Feature Request (Rejected)

For ... in ... next loop modifying items

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


Would be cool to be able to modify items in a for each loop.

Something like this perhaps:


#include <Array.au3>

Local $a[] = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]

For ByRef $item In $a
	$item += 10



Attachments (0)

Change History (1)

comment:1 Changed 3 years ago by Jpm

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

Sorry for the so late answer.
But the doc has been written on what can be reasonably implemented, so we will not add such improvement

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

as closed The ticket will remain with no owner.

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

Note: See TracTickets for help on using tickets.