Modify ↓
Opened 18 years ago
Closed 18 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: |
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 , 18 years ago
| Version: | Other |
|---|
comment:2 by , 18 years ago
| Resolution: | → Rejected |
|---|---|
| Status: | new → 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.
Note:
See TracTickets
for help on using tickets.

Automatic ticket cleanup.