DeleteMenu is an XFCN that allows you to delete any menus you've added to HyperCard using the NewMenu XFCN. Failure to delete added menus could lead to severe problems in memory and crash HyperCard!
The menu reference number you provide to to DeleteMenu should be the same number that was returned by NewMenu.
Do NOT, hoevevr, call DeleteMenu to delete menus that you've already deleted! You need to balance the calls for each menu. Call NewMenu ONCE to create a menu (usually in either openStack, openBackground or openCard), and call DeleteMenu ONCE to delete it (in the matching closeStack, closeBackground, or closeCard).
Repeat as neccessary. Rinse.
For the best example of use see the sample script provided in NewMenu.
-- part contents for background part 2
----- text -----
DeleteMenu
-- part contents for background part 4
----- text -----
DeleteMenu(<menu>)
*Menus for HyperCardΓäó - see NewMenu for examples