version 6.0
Count menu items (menu{; process}) Number
Parameter | Type | Description | |
menu | Number | Menu number | |
process | Number | Process reference number | |
Function result | Number | Number of menu items in the menu |
Description
The Count menu items command returns the number of menu items present in the menu whose number is passed in menu.
If you omit the process parameter, Count menu items applies to the menu bar for the current process. Otherwise, Count menu items applies to the menu bar for the process whose reference number is passed in process.
See Also