| Number of valid menu handles
| (handles 0-9 have special meaning but 10+ are user definable)
| NB If you don't want the extension module to be loaded until the command
| is executed then use Command "...".

48

| Zap iconbar menu (0)

00 "Zap" 9
   "Info    " > Infobox
   "Options " > 31
   "New view" > Newviewlist
   "Remove  " > Removelist
   "New file" > 02
   "Create  " > 35
   "Help    " Help "z"
   "Quit    " Quit

| Zap window menu (1)

01 "Zap" 11
   "File ...  " Save > 10
   "Selection " > 12
   "Edit      " > 13
   "Mode      " > 03
   "Display   " > 15
   "Misc      " > 20

| File type list menu (2) (also used by menu click on save box)

02 "File type" 14
   "Text   (&FFF)" Newtype &FFF
   "Data   (&FFD)" Newtype &FFD
   "BASIC  (&FFB)" Newtype &FFB
   "Module (&FFA)" Newtype &FFA
   "Obey   (&FEB)" Newtype &FEB
   "Other        " > Typelist

| Mode menu (3)

03 "Mode" 14
   "Load mode    " > Loadlist
   -
   "             " Mode 0
   "             " Mode 1
   "             " Mode 2
   "             " Mode 3
   "             " Mode 4
   "             " Mode 5
   "             " Mode 6
   "             " Mode 7
   "             " Mode 8
   "             " Mode 9
   "             " Mode 10
   "             " Mode 11
   "             " Mode 12
   "             " Mode 13
   "             " Mode 14
   "             " Mode 15
   "             " Mode 16
   "             " Mode 17
   "             " Mode 18
   "             " Mode 19
   "             " Mode 20
   "             " Mode 21
   "             " Mode 22
   "             " Mode 23
   "             " Mode 24
   "             " Mode 25
   "             " Mode 26
   "             " Mode 27
   "             " Mode 28
   "             " Mode 29
   "             " Mode 30
   "             " Mode 31

| Other menus with no specific attatchment (10+)
 
10 "File" 15
   "Save          " Quicksave > Save
   "Search ...    " Searchbuf > SearchCur
   "Goto ...      " Goto      > Goto
   "Replace ...   " Replace   > Replace
   "Print         " > 11
   "Read only     " Readonly
   "New view      " Newview
   "Undo on       " Toggleundo
   "DOS text file " FFlags_toggle 27
   "Word count    " Command "wc"

11 "Print" 12
   "Quick      " Quickprint > Quickprint
   "Fancy      " Printfile
   "Open       " Openprinter
   "Close      " Closeprinter
   "Dump       " Dumpfile
   
12 "Selection" 12
   "Save ...   " Savesel  > Savesel
   "Clear      " Clearsel
   "Cut        " Cut
   "Paste      " Paste
   "Yank       " Yank
   "Copy       " Copysel
   "Move       " Movesel
   "Keep       " Keepregion
   "Indent     " Indent   > Indentby
   "Outdent    " Outdent

13 "Edit" 15
   "Tab mode      " > 23
   "Overwrite     " Toggleinsert
   "Hex entry     " Hexascii
   "Word wrap     " Wordwrap > Wrapwidth
   "Line wrap     " Linewrap
   "Line edit     " Lineedit
   "Non standard  " Nonstandard
   "Auto indent   " Autoindent
   "Strip spaces  " Wformat_alter 18

14 "Alter" 17
   "Fast Undo       " Fastundo
   "Undo            " Fullundo
   "Redo            " Redo
   "Swap case       " Swapcase
   "Swap chars      " Swapchars
   "Copy mode       " Copy
   "Format text     " Formattext
   "Strip spaces    " Stripspaces 3
   "Tabify          " Stripspaces 4

15 "Display" 13
   "Line numbers" > 16
   "Tabs        " > 17
   "Line spacing" > Linespacing
   "Font        " > 18
   "Colours     " > Colourlist
   "Width       " > Setwidth
   "Misc        " > 19

16 "Line nos" 13
   "None        " Linenos 0
   "Logical     " Linenos 1
   "Physical    " Linenos 2
   "Address     " Linenos 3
   -
   "Hex nos     " Togglehex
   -
   "Start line  " > Startline
   "Start addr  " > Startaddr

17 "Tabs" 12
   "None     " Tabdisplay 0
   "As spaces" Tabdisplay 1
   "     |  " Tabdisplay 2
   "-----|  " Tabdisplay 3
   -
   "Tab char " > Tabchar

18 "Font" 18
   "Bitmap (scaled ) " Fonttype 1
   "Bitmap (at 1dpp) " Fonttype 0
   "Bitmap (at 2dpp) " Fonttype 5
   "System font      " Fonttype 2
   "Anti-aliased DSA " Fonttype 3
   "Anti-aliased VDU " Fonttype 4
   -
   "Bitmap name      " Bitmaplist > Bitmaplist
   "Anti-aliased name" Bitmaplist > Fontlist
   "Anti-aliased size" Bitmaplist > Fontsize

19 "Misc" 12
   "Return char " > Returnchar
   "Margin      " > Margin
   "Auto width  " Wflags_alter 6
   "Big endian  " Wformat_toggle 17

20 "Misc" 12
   "Keymap  " > 21
   "Marking " > 22
   "Insert  " > 24
   "Delete  " > 25
   "Alter   " > 14
   "Move    " > 26
   "Learn   " > 27
   "Window  " > 28
   "Search  " > 29
   "Program " > 30
   "Copy ops" Makedefault
|   "On      " > 36

21 "Key maps" 14
   "Command      " Command
   "Default      " Defaultmap
   "Bind         " Bindtokey
   "Emacs (map1) " Emacs

22 "Marking" 17
   "Toggle mark     " Togglemark
   "Last mark       " Lastmark
   "Next mark       " Nextmark
   "Select          " Selregion
   "Select buffer   " Selectbuffer

23 "Tab mode" 12
   "Unix tab   " Tabmode 0
   "!Edit tab  " Tabmode 1
   "Column tab " Tabmode 2 > Columntab
   -
   "As spaces  " Tabsasspaces
   -
   "Toggle     " Switchtab

24 "Insert" 15
   "Date          " Insertdate
   "Time          " Inserttime
   "Split line    " Splitline

25 "Delete" 21
   "Delete line         " Delline
   "Delete to start     " Deltostart
   "Delete to end       " Deltoend
   "Join line           " Joinline

26 "Move" 16
   "Indirect       " Indirect
   "Swap window    " Swapwindow
   "Last sector    " Lastsector
   "Next sector    " Nextsector
   "Last track     " Lasttrack
   "Next track     " Nexttrack

27 "Learn" 12
   "Learn      " Learn
   "Execute    " Execute

28 "Window" 17
   "Close window    " Closewindow
   "Close other     " Closeother
   "Toggle size     " Togglewind

29 "Search" 15
   "Forward       " Searchforward
   "Backward      " Searchback
   "Last match    " Lastmatch
   "Next match    " Nextmatch
   "Cancel        " Cancel

30 "Program" 22
   "Compile (& save)     " Compile
   "List of functions    " Listfns

31 "Options" 13
   "Save options" Saveoptions
   -
   "Misc        " > 32
   "Mode        " > 03
   "Display     " > 15
   "Edit        " > 13
   "Mini buffer " > Minimenu
   "Cursor types" > Cursormenu
   -
   "ZapSetup    " WimpTask "Run <Zap$3rdParty>.ZapSetup.!ZapSetup"
   "Edit keys   " FindFile "<Zap$Keys>" 
   "Reload keys " Reloadkeys

32 "Misc" 17
   "Auto-del files  " Miscops 0
   "Auto-clr regions" Miscops 1
   "Undo supported  " Toggleundo
   "Flashing cursor " Miscops 3
   "Check datestamp " Miscops 4
   "Auto-clr search " Miscops 5
   "Confine cursor  " Miscops 6
   "Trap MSDOS files" Miscops 7

35 "Create" 17
   "Get module      " > Getmodule
   "Get workspace   " > Getworkspace
   "Read memory ... " MzapBox > MzapBox
   "Read disc ...   " DzapBox > DzapBox
   "Task window     " Command "Taskwindow"
   "Get dynamic area" Getdynamicarea > Getdynamicarea

36 "And on" 7
   "and on" > 36
