home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CP/M
/
CPM_CDROM.iso
/
mbug
/
mbug073.arc
/
GENELOGY.LBR
/
FPRINT5.CMD
< prev
next >
Wrap
OS/2 REXX Batch file
|
1979-12-31
|
1KB
|
83 lines
* FPRINT5.CMD rev 15/12/85
IF fath > 0
GO fath
&dnom
? l+spc3+name
?? "(48)"
? l+spc3+l
ENDIF
IF n4 > 0
GO n4
&dnom
? l+spc2+name
?? "(24)"
IF moth > 0
? l+spc2+l+l
ELSE
? l+spc2+l
ENDIF
STORE 0 TO n4
IF moth > 0
GO moth
&unom
? l+spc2+l+name
?? "(49)"
? l+spc2+l
ENDIF
ENDIF
IF n3 > 0
GO n3
&dnom
? l+spc1+name
?? "(12)"
IF moth > 0
? l+spc1+l+l
ELSE
? l+spc1+l
ENDIF
STORE 0 TO n3
IF moth > 0
GO moth
STORE # TO n4
IF fath > 0
GO fath
&dnom
? l+spc1+l+l+name
?? "(50)"
? l+spc1+l+l+l
ENDIF
ENDIF
ENDIF
IF n4 > 0
GO n4
&unom
? l+spc1+l+name
?? "(25)"
IF moth > 0
? l+spc1+l+spc1+l
ELSE
? l+spc1+l
ENDIF
STORE 0 TO n4
IF moth > 0
GO moth
&unom
? l+spc1+l+spc1+name
?? "(51)"
? l+spc1+l
ENDIF
ENDIF
IF n2 > 0
GO n2
&dnom
? l+name
?? "(6)"
IF moth > 0
? l+l+l
ELSE
? l+l
ENDIF
STORE 0 TO n2
ENDIF