APPENDMENUITEM
Syntax APPENDMENUITEM menuname itemname id
 
Explanation The APPENDMENUITEM command appends a new menu item to an existing menu which may then be selected by the user. Each menu item has its own ID number. Whenever a menu item is selected, this ID is transmitted to Logo, and Logo performs the command associated to the ID number. If the menu item name begins with a dash (-) character, a separator line is added to the menu and the ID number is ignored.

Use the ONCOMMAND command to define a list of Logo commands which should be executed whenever a menu command ID is selected.

See also APPENDMENU, DELETEMENU, DELETEMENUITEM, FINDMENUID, COMMAND and ONCOMMAND.
 

Examples APPENDMENUITEM "File "|Choose Me| 100
(a new menu Item "Choose me"
 appears on the "File" menu)
(APPENDMENUITEM "File "---)
(a separator line appears on the
 "File" menu)

TopIndex