Modify ↓
Opened on Jan 9, 2010 at 4:48:00 PM
Closed on Jan 9, 2010 at 5:37:38 PM
#1405 closed Feature Request (Rejected)
Array definition, less strict data-part format.
| Reported by: | anonymous | Owned by: | |
|---|---|---|---|
| Milestone: | Component: | AutoIt | |
| Version: | Severity: | None | |
| Keywords: | Array definition | Cc: |
Description
Just a idea.
possible less strict array definition data-part format so,
Global $array[ 3] = ["", "", 3]
can be written as,
Global $array[ 3] = [, ,3]
or,
Global $array[ 3][ 3][ 3] = [""],[""],["",],[""],[,""],[""],["", "", 3]
as,
Global $array[ 3][ 3][ 3] = [, ,[, ,[, ,3]]]
Attachments (0)
Change History (1)
comment:1 by , on Jan 9, 2010 at 5:37:38 PM
| Resolution: | → Rejected |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.

Empty parameter lists still using a comma as separate will lead to some of the most un-readable code you've ever seen. It is a syntax I will fight against.
My other argument is that you shouldn't need array initializer syntax for multi-dimensional (3+) arrays anyway. With data that complex a tab or comma separated file would lead to much better.