#3792 closed Feature Request (Completed)

Map should have a count method

Reported by: Nine Owned by:
Milestone: Component: AutoIt
Version: Severity: None
Keywords: Map count Cc:


Although it is very easy to get the count with UBound(MapKeys($mMap)), it requires creating a 1D array for nothing if you do not need it. Also, it can be quite time-expensive for a very large map.

Attachments (0)

Change History (3)

comment:1 Changed 18 months ago by TicketCleanup

  • Version deleted

Automatic ticket cleanup.

comment:2 Changed 18 months ago by Jpm

Why don't just use UBound($mMap)
it is doing what you need.

comment:3 Changed 18 months ago by Melba23

  • Resolution set to Completed
  • 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.