Opened 9 years ago

Closed 8 years ago

#2995 closed Feature Request (Rejected)

Create and pass array as parameter in the parameter itself

Reported by: anonymous Owned by:
Milestone: Component: AutoIt
Version: Severity: None
Keywords: Cc:


Sorry for my English, I am using a translator. It would be very useful to be possible to create and pass an array as a parameter in the parameter itself, as in Javascript and in the example below:


_alert(["Element 1", "Element 2", "Element 3"])

function _alert(array){

AutoIt concept:

_alert(["Element 1", "Element 2", "Element 3"])

Func _alert($array)
 MsgBox(0, '', $array[0])
 MsgBox(0, '', $array[1])
 MsgBox(0, '', $array[2])

Attachments (0)

Change History (3)

comment:1 Changed 9 years ago by TicketCleanup

  • Version deleted

Automatic ticket cleanup.

comment:2 Changed 9 years ago by Jos

This works fine already:

Dim $a = ["Element 1", "Element 2", "Element 3"]

Func _alert($array)
 MsgBox(0, '', $array[0])
 MsgBox(0, '', $array[1])
 MsgBox(0, '', $array[2])

comment:3 Changed 8 years ago by Melba23

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

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.