beautypg.com

Avery Dennison 6037 Rev. AA 3/04 Programmer Manual User Manual

Page 110

background image

4-68 ROM-DOS Internal Commands

Example

[MENU]

menuitem=Word_Proc, Word Processing

menuitem=Network, Network

submenu=Research, Research and Development

menucolor=15,1

menudefault=Word_Proc,20

[WORD PROC]

files=10

buffers=10

lastdrive=m

device=c:\network\loadnet.sys

[NETWORK]

include=Word_Proc

numlock=off

[RESEARCH]

menuitem=proj1, Project 1

menuitem=proj2, Project 2

menudefault=proj1

[PROJ1]

files=50

buffers=25

numlock=on

[PROJ2]

files=10

buffers=20

device=vdisk.sys 64 /e

numlock=off

In the preceding example, a submenu is defined as one of the startup
menu choices. When you select Research and Development from the
first menu, a secondary menu is displayed, offering the choices of Project
1 and Project 2. The actual commands for Project 1 and Project 2 are
defined in the configuration blocks labeled PROJ1 and PROJ2.