Modify

Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#2334 closed Bug (No Bug)

Maximum _useful_ array dimension is 24, not 64 as doc says

Reported by: jchd18 Owned by:
Milestone: Component: Documentation
Version: 3.3.9.4 Severity: None
Keywords: Cc:

Description

Barring using "dummy" dimensions like [1][1]... the maximum practical dimension of an array is 24, while the documentation says 64. Beyond 24D we hit "Array maximum size exceeded."

Local $arTestGood[2][2][2][2][2][2][2][2][2][2][2][2][2][2][2][2][2][2][2][2][2][2][2][2]
Local $arTestUseless[1][1][1][1][1][1][1][1][1][1][1][1][1][1][1][1][1][1][1][1][1][1][1][1][1][1][1][1][1][1][1][1][1][1][1][1][1][1][1][1][1][1][1][1][1][1][1][1][1][1][1][1][1][1][1][1][1][1][1][1][1][1][1][1]
Local $arTestBad[2][2][2][2][2][2][2][2][2][2][2][2][2][2][2][2][2][2][2][2][2][2][2][2][2]

Attachments (0)

Change History (3)

comment:1 Changed 11 years ago by AdmiralAlkex

  • Component changed from AutoIt to Documentation

64 dimensions is a technical limit, nowhere does it say that it's a useful thing to do.

Besides, I'm not sure what you're asking us to do. Lowering the limit? What useful purpose could that possible have?

It's also unclear which component you are talking about, AutoIt or the Documentation. I'll assume the later as you have that in your description.

Last edited 11 years ago by AdmiralAlkex (previous) (diff)

comment:2 Changed 11 years ago by Jpm

  • Resolution set to No Bug
  • Status changed from new to closed

In fact there is no bug as it is not the number of dimension but the global size of the array which is reach 224

comment:3 Changed 11 years ago by jchd18

@JP,
That's what I said! And yes, it's not exactly a bug, rather an implementation error.

@Admiral,
This minor issue is both with the language and the documentation.
Building to a limit that is non-reachable in practice is at the very least questionnable. That the interpreter allows for a useless series of up to 64 [1] dimensions is pretty stupid: the practical limit (array size) is well below and if we start using [1] dummy dimensions, then why put a limit at all? And the doc should reflect that.

BTW, jchd18 = jchd and I've no problem with this ticket 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

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.