Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#3788 closed Feature Request (Works For Me)

Can't we create empty 3D arrays

Reported by: shannithila@… Owned by:
Milestone: Component: AutoIt
Version: Severity: None
Keywords: Cc:


I have a question which is are there any possibilities to create an empty array for example 3D array like

Local $excelOutput[][][]={{{}}}


Local $excelOutput[][][]=[]

Or are there any data structure we can use such as list of list or array of dictionary for the above purpose.

Attachments (0)

Change History (3)

comment:1 Changed 3 years ago by TicketCleanup

  • Version deleted

Automatic ticket cleanup.

comment:2 Changed 3 years ago by Jpm

[] are reserved for Map not for array

I don"t know what you will do after such allocation but for

Local $excelOutput[0][0][0]
Local $iDim = UBound($excelOutput, 0)
ConsoleWrite('$iDim = ' & $iDim & @CRLF)

is working OK

comment:3 Changed 3 years ago by mLipok

  • Resolution set to Works For Me
  • Status changed from new to closed

Dear AutoIt user: shannithila@…
Next time when you want to ask "....I have a question...." please in first place post your question here:

Or if you will have further question please ask them there.

As @jpm said: Provided by @jpm example works, so you ticket will be closed "Works for Me"

Last edited 3 years ago by mLipok (previous) (diff)

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.