Modify

Opened 12 years ago

Closed 5 years ago

#2695 closed Feature Request (Rejected)

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

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

Description

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

Something like this perhaps:

#AutoIt3Wrapper_Run_Au3Check=n

#include <Array.au3>

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

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

_ArrayDisplay($a)

Mat

Attachments (0)

Change History (1)

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

Resolution: Rejected
Status: newclosed

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

Modify Ticket

Action
as closed The ticket will remain with no owner.

Add Comment


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