Modify

#477 closed Feature Request (Rejected)

Extract values from array at function runtime

Reported by: KentonBomb Owned by:
Milestone: Component: AutoIt
Version: Severity: None
Keywords: array variable middleman Cc:

Description

What I mean by this is being able to directly reference an array element without storing it into an array (Cutting out the middleman). Example:

$sString = StringSplit("test|hello|hi", "|")[1]

Instead of

$azSplit = StringSplit("test|hello|hi", "|")
$sString = $azSplit[1]

Could this be considered?

Attachments (0)

Change History (2)

comment:1 by TicketCleanup, on Jul 30, 2008 at 4:00:06 AM

Version: Other

Automatic ticket cleanup.

comment:2 by Valik, on Jul 30, 2008 at 5:00:31 AM

Resolution: Rejected
Status: newclosed

This is a syntactic nightmare for virtually no gain. There is no performance benefit to it and it just creates harder to read than necessary code.

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.