Opened 6 years ago

#2695 new Feature Request

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 (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

Modify Ticket

as new 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.