Modify

Opened 3 years ago

Closed 3 years ago

#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:

Description

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 3 years ago by TicketCleanup

  • Version 3.3.15.3 deleted

Automatic ticket cleanup.

comment:2 Changed 3 years ago by Jpm

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

comment:3 Changed 3 years 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

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.