MENU - by Earl Chew A program which enables the user to select one line of instruction from a menu file for execution. Executing the program as part of a start-up file can allow speedier user initialisation, etc. The instructions in the menu file may be more complex than the one line commands in e.g. STARTS.COM by separating each command by a semi-colon ';' with a maximum of 80 characters allowed per line. Comments may also be included as long as they are enclosed by exclamation points '!' For example, the file MENU.MNU might contain the commands: SET EDIT KED ; ASS SF1 DK ; @SF1 ; ASS XD3 DK SET EDIT TECO ; ASS SF1 DK ; @SF1 !WORKING DISK 3! @SF1 DEL *.BAK/NOQ ; SQU DK:/NOQ Selecting the second line of the file will cause the commands: SET EDIT TECO ASS SF1 DK @SF1 to be executed in that sequence. CAUTION: there may be some problem associated with including an indirect command file specification (@SF1) unless it is the last command in the chain! The program in this package is set up for VT100 usage, there is however code present for Volker Craig VC404 terminals. Additional support can be provided for other terminals by editing the source file in the manner shown. To run any of these programs, type R FILNAM - a '$' prompt will be displayed in the left-hand margin. The user should then respond with the menu file which has a default file extension of *.MNU. If is typed, the program will identify itself and then show the commands appropriate to that program. MENU.SAV uses the cursor addressing keys of the VT100 to direct the cursor up and down the menu file. VT100 VC404,VC4404 up-arrow PF7 - moves the cursor up one line down-arrow PF8 - moves the cursor down one line left-arrow PF9 - refreshes the screen display right-arrow PF10 - executes the command under the cursor This program has been written in NBS Pascal. Keith Buckley Melbourne High School 240 0711