home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Oakland CPM Archive
/
oakcpm.iso
/
cpm
/
database
/
kphandyp.lbr
/
SIXMONTH.CZD
/
SIXMONTH.CMD
Wrap
OS/2 REXX Batch file
|
1987-07-06
|
896b
|
47 lines
STOR 'T' to fmonth
STOR date() to today
STOR $(today,1,2) to month
STOR $(today,7,2) to year
STOR 'T' to sixmonth
DO WHIL sixmonth='T'
IF fmonth='T'
SET intensity on
ELSE
SET intensity off
ENDI
ERAS
STOR 0 to offset
STOR-57 to xpos
STOR-57 to column
STOR 'T' to repeat
DO WHIL repeat='T'
DO saymonth
STOR 'F' to fmonth
STOR xpos+30 to xpos
STOR xpos to column
STOR 0 to offset
IF xpos>4
STOR 'F' to repeat
ENDI
ENDD
STOR ' ' to option
@ 21,0 say 'Enter Q to quit or C to change (Q/C)';
get option
READ
IF !(option)='C'
STOR ' ' to start
@ 21,0
@ 21,0 say 'Enter month and year to start (MM/YY)';
get start picture 'XX/XX'
READ
IF @('/',start)=2
STOR '0'+start to start
ENDI
STOR $(start,1,2) to month
STOR $(start,4,2) to year
ELSE
STOR 'F' to sixmonth
ENDI
ENDD
RETU