| 1 |
/* |
| 2 |
* @progname pedigreel.ll |
| 3 |
* @version 1.0 |
| 4 |
* @author Wetmore, Manis |
| 5 |
* @category |
| 6 |
* @output Text, 132 cols |
| 7 |
* @description |
| 8 |
* |
| 9 |
* select and produce a ancestor report for the person selected. |
| 10 |
* Ancestors report format, which print the event in long format. |
| 11 |
* Output is an ASCII file, and will probably need to be printed |
| 12 |
* using 132 column format. |
| 13 |
* |
| 14 |
* pedigreel |
| 15 |
* |
| 16 |
* Code by Tom Wetmore, [email protected] |
| 17 |
* With modifications by: Cliff Manis |
| 18 |
* |
| 19 |
* This report works only with the LifeLines Genealogy program |
| 20 |
* |
| 21 |
* version one of this report was written by Tom Wetmore, in 1990, |
| 22 |
* name is from pedigreel (long format) |
| 23 |
* |
| 24 |
* An example of the output may be seen at end of this report. |
| 25 |
*/ |
| 26 |
|
| 27 |
proc main () |
| 28 |
{ |
| 29 |
set (nl,nl()) |
| 30 |
getindi(indi) |
| 31 |
call pedigree(0, 1, indi) |
| 32 |
nl() |
| 33 |
} |
| 34 |
|
| 35 |
proc pedigree (in, ah, indi) |
| 36 |
{ |
| 37 |
if (par, father(indi)) { |
| 38 |
call pedigree(add(1,in), mul(2,ah), par) |
| 39 |
} |
| 40 |
print(name(indi)) print(nl()) |
| 41 |
col(mul(8,in)) fullname(indi,1,1,50) |
| 42 |
if (evt, birth(indi)) { ", b. " long(evt) } |
| 43 |
" (" d(ah) ")" nl() |
| 44 |
if (par, mother(indi)) { |
| 45 |
call pedigree(add(1,in), add(1,mul(2,ah)), par) |
| 46 |
} |
| 47 |
} |
| 48 |
|
| 49 |
/* Sample output of this report. 132 Column Format. |
| 50 |
|
| 51 |
This report was requested for "Fuller Ruben Manes". |
| 52 |
|
| 53 |
|
| 54 |
John MANESS, b. ca 1770-1780 (16) |
| 55 |
Samuel P. MANES, b. ca 1780-90 (8) |
| 56 |
William Thomas MANES, b. 26 Nov 1828, Hamblen, Tennessee (4) |
| 57 |
Fanny (MANES), b. ca 1790-1800 (9) |
| 58 |
William Bowers MANES, b. 6 Jan 1868, Hamblen Co, TN ? (2) |
| 59 |
James BOWERS (20) |
| 60 |
Anderson BOWERS, b. ca 1803, TN (10) |
| 61 |
Martha (21) |
| 62 |
Martha A. BOWERS, b. 14 APR 1829, TN (5) |
| 63 |
William COWAN (88) |
| 64 |
Samuel COWAN (44) |
| 65 |
Mrs. (COWAN) (89) |
| 66 |
Christopher Columbus COWAN, b. About 1765 (22) |
| 67 |
Mrs (COWAN) (45) |
| 68 |
Lurina Viney "Vina" COWAN, b. 1808, TN (11) |
| 69 |
Mary BOYD, b. 1772, Boyd's Creek, Sevier Co, TN (23) |
| 70 |
Fuller Ruben MANES, b. 19 Nov 1902, Union Valley, Sevier Co, TN (1) |
| 71 |
Henry B. CANTER, b. ca 1820, VA (12) |
| 72 |
James H. CANTER, b. ca 1847, Claiborne Co, TN (6) |
| 73 |
Polina (CANTER), b. ca 1822 (13) |
| 74 |
Cordelia "Corda" F. CANTER, b. 7 Dec 1869, Jonesboro, Washington Co, TN (3) |
| 75 |
James WHITEHORN, b. VA (14) |
| 76 |
Martha Marie WHITEHORN, b. 22 DEC 1846, Washington Co, TN ? (7) |
| 77 |
Thomas FOSTER (60) |
| 78 |
Kennedy "Kan" Powell FOSTER, b. 1814 (30) |
| 79 |
Martha "Patsy" FOSTER, b. Tennessee (15) |
| 80 |
David CASON (62) |
| 81 |
Rebecca KERSAWN, b. 1818, NC (31) |
| 82 |
Mary (63) |
| 83 |
|
| 84 |
*/ |
| 85 |
|
| 86 |
/* End of Report */ |
| 87 |
|