Modify

Opened 16 years ago

Closed 16 years ago

#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 Valik, 16 years ago

Resolution: Rejected
Status: newclosed

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.

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.