Opened 16 years ago

Closed 16 years ago

#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:


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 Changed 16 years ago by TicketCleanup

  • Version Other deleted

Automatic ticket cleanup.

comment:2 Changed 16 years ago by Valik

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

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.

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.