#3788 closed Feature Request (Works For Me)
Can't we create empty 3D arrays
| Reported by: | Owned by: | ||
|---|---|---|---|
| Milestone: | Component: | AutoIt | |
| Version: | Severity: | None | |
| Keywords: | Cc: |
Description
I have a question which is are there any possibilities to create an empty array for example 3D array like
Local $excelOutput[][][]={{{}}}
OR
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 by , 5 years ago
| Version: | 3.3.14.0 |
|---|
comment:2 by , 5 years ago
[] 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 by , 5 years ago
| Resolution: | → Works For Me |
|---|---|
| Status: | new → closed |
Dear AutoIt user: shannithila@…
Next time when you want to ask "....I have a question...." please in first place post your question here:
https://www.autoitscript.com/forum/forum/2-autoit-general-help-and-support/
Or if you will have further question please ask them there.
btw.
As @jpm said: Provided by @jpm example works, so you ticket will be closed "Works for Me"

Automatic ticket cleanup.