home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.barnyard.co.uk
/
2015.02.ftp.barnyard.co.uk.tar
/
ftp.barnyard.co.uk
/
cpm
/
walnut-creek-CDROM
/
MBUG
/
MBUG102.ARC
/
MAINMENU.CMD
< prev
next >
Wrap
OS/2 REXX Batch file
|
1979-12-31
|
2KB
|
76 lines
*MAINMENU.PRG
set talk off
SET ESCAPE OFF
SET DEFAULT TO B
DO WHILE T
USE
SELECT PRIMARY
USE
SELECT SECONDARY
USE
SET DELETE ON
SET PRINT OFF
SET CONSOLE ON
STORE DATE() TO DATED
SET FORMAT TO SCREEN
ERASE
RESTORE FROM A:NAME ADDI
@ 1,10 SAY' MAIN MENU FOR DATAFLOW SMALL BUSINESS SYSTEM '
STORE ((80-LEN(TRIM(LINE1)))/2)-5 TO PPOS
@ 2,PPOS SAY 'FOR '+LINE1
@ 4,30 SAY 'DATE ' GET DATED
@ 5,4 SAY'PRESS THE KEY REQUIRED TO START THE PROCESSES LISTED'
@ 6,0 SAY'------------------------------------------------------------------;
---------'
?' 1 ENTER ORDERS '
?' 2 PRINT ORDERS '
?' 3 ENTER BACKORDERS AND FREIGHT '
?' 4 PRINT INVOICES '
?' 5 PRINT STATEMENTS '
?' 6 FILE MAINTENANCE '
?' 7 CREDITS '
?' 8 GENERAL LEDGER '
?' 9 BACK ORDER MAINTENANCE '
?' A ENTER STOCK RECEIVED '
?' B REPORTS '
?' C INSTALLATION '
?' '
?' H HELP '
?' E EXIT PROGRAM '
? '*************************************************************************'
WAIT TO DEC
STORE !(DEC) TO DEC
SET ESCAPE ON
DO CASE
CASE DEC='1'
DO A:WORDERS
CASE DEC='2'
DO A:PACK
CASE DEC='3'
DO A:MENU4
CASE DEC='4'
DO A:INVOICE
CASE DEC='5'
DO A:LEDGER
CASE DEC='6'
DO A:MENU7
CASE DEC='7'
DO A:MENU2
CASE DEC='8'
DO A:MENU6
CASE DEC='9'
DO A:MENU5
CASE DEC='A'
DO A:STOCKIN
CASE DEC='B'
DO A:REPORTS
CASE DEC='C'
DO A:INSTALL
CASE DEC='H'
DO A:HELP
CASE DEC='E'
ERASE
QUIT
ENDCASE
ENDDO
' 3 EDI