home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CP/M
/
CPM_CDROM.iso
/
mbug
/
mbug073.arc
/
GENELOGY.LBR
/
LISTS.CMD
< prev
next >
Wrap
OS/2 REXX Batch file
|
1979-12-31
|
1KB
|
45 lines
* LISTS.CMD menu for various Lists
DO WHILE t
STORE ' ' TO listtype,ordtype
@ 7,0 SAY CHR(27)+'Y'
@ 9,25 SAY "<P>ointers, Dates & Names"
@ 11,25 SAY "<B> D & M Dates, Places & Spouses"
@ 13,25 SAY "<D>ate Ranges of B, D or M"
@ 15,25 SAY "<A>ges at Death"
@ 17,25 SAY "<M>ain menu"
DO WHILE .NOT. listtype$'PBDAM'
@ 19,20 SAY "PRESS KEY of Your Choice < >"
@ 19,46 GET listtype PICTURE "!"
READ
ENDDO
IF listtype = 'M'
RETURN
ENDIF
@ 1,25 SAY ' '
DO CASE
CASE listtype = 'B'
@ 1,25 SAY xinv+"List B D & M Dates, Places & Spouses"+xnor
DO lplace
CASE listtype = 'P'
@ 1,28 SAY xinv+"List Pointers, Dates & Names"+xnor
DO lpointer
CASE listtype ='D'
@ 1,27 SAY xinv+"List Date Ranges of B, D or M"+xnor
DO ldate
CASE listtype = 'A'
@ 1,30 SAY xinv+"List Ages at Death"+xnor
DO lage
ENDCASE
STORE ' ' TO listtype
@ 1,0 SAY "Last Record No. "+xfin
@ 1,25
@ 1,30 SAY xinv+"Lists (various)"+xnor
@ 1,65 SAY "Date "+date()
IF myprnt = 'P'
@ 6,30 SAY "Printer output"
ELSE
@ 6,30 SAY "Screen output"
ENDIF
LOOP
ENDDO