home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CP/M
/
CPM_CDROM.iso
/
mbug
/
mbug073.arc
/
GENELOGY.LBR
/
FPRINT4.CMD
< prev
next >
Wrap
OS/2 REXX Batch file
|
1979-12-31
|
1KB
|
92 lines
* FPRINT4.CMD To print 4th 1/8 of a Forebears Chart
* rev. 19/6/86 Called by FHALFONE.CMD
* 1. 1st 5th Gen
IF fath > 0
GO fath
&dnom
? l+spc1+l+spc1+name
?? "(44)"
? l+spc1+l+spc1+l
ENDIF
* 2. 1st 4th Gen
IF n4 > 0
GO n4
&dnom
? l+spc1+l+name
?? "(22)"
IF moth > 0
? l+spc1+l+l+l
ELSE
? l+spc1+l+l
ENDIF
STORE 0 TO n4
* 3. 2nd 5th Gen.
IF moth > 0
GO moth
&unom
? l+spc1+l+l+name
?? "(45)"
? l+spc1+l+l
ENDIF
ENDIF
* 4. 3rd Gen
IF n3 > 0
GO n3
&unom
? l+spc1+name
?? "(11)"
IF moth > 0
? l+spc2+l
ELSE
? l+spc2
ENDIF
STORE 0 TO n3
* 5. 3rd 5th Gen
IF moth > 0
GO moth
STORE # TO n4
IF fath > 0
GO fath
&dnom
? l+spc2+l+name
?? "(46)"
? l+spc2+l+l
ENDIF
ENDIF
ENDIF
* 6. 2nd 4th Gen
IF n4 > 0
GO n4
&unom
? l+spc2+name
?? "(23)"
IF moth > 0
? l+spc3+l
ELSE
? l
ENDIF
STORE 0 TO n4
* 7. 4th 5th Gen.
IF moth > 0
GO moth
&unom
? l+spc3+name
?? "(47)"
? l
ENDIF
ENDIF