Modify

Opened 5 years ago

Closed 5 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 by TicketCleanup, 5 years ago

Version: 3.3.15.3

Automatic ticket cleanup.

comment:2 by J-Paul Mesnage, 5 years ago

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

comment:3 by Melba23, 5 years ago

Resolution: Completed
Status: newclosed

Modify Ticket

Action
as closed The ticket will remain with no owner.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.