Modify

Opened 10 years ago

Closed 10 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 Changed 10 years ago by Valik

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

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.

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

Action
as closed The ticket will remain with no owner.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.