menu [statement]

  • An optional 5th parameter (commandID) may be supplied when the menu is created.
    menu 1, 2, 1, "Open…/O", _kHICommandOpen
    
    The above example is equivalent to:
    menu 1, 2, 1, "Open…/O"
    fn SetMenuItemCommandID( fn GetMenuHandle( 1 ), 2, _kHICommandOpen )

  • Menu resources not handled.

  • Macros not supported.