| 1 |
/* |
| 2 |
* @progname ancestors2.ll |
| 3 |
* @version 2.0 |
| 4 |
* @author Wetmore, Cliff Manis |
| 5 |
* @category |
| 6 |
* @output Text |
| 7 |
* @description |
| 8 |
* |
| 9 |
* It will produce a report of all ancestors of a person, with |
| 10 |
* sorted names as output, birth and death dates. |
| 11 |
* |
| 12 |
* ancestors2 |
| 13 |
* |
| 14 |
* Initial Code by Tom Wetmore, [email protected] |
| 15 |
* Modifications by Cliff Manis, this is a modification of the |
| 16 |
* report "ancestors1". |
| 17 |
* |
| 18 |
* This report works only with the LifeLines Genealogy program |
| 19 |
* |
| 20 |
* version one of this report was written by Tom Wetmore, in 1990, |
| 21 |
* and it has been modified many times since. |
| 22 |
* |
| 23 |
* It will produce a report of all ancestors of a person, with |
| 24 |
* sorted names as output, birth and death dates. |
| 25 |
* |
| 26 |
* It will produce ASCII file output. |
| 27 |
* |
| 28 |
*/ |
| 29 |
|
| 30 |
proc main () |
| 31 |
{ |
| 32 |
indiset(a) |
| 33 |
monthformat(4) |
| 34 |
indiset(b) |
| 35 |
getindi(i) |
| 36 |
addtoset(a, i, 0) |
| 37 |
set(b,ancestorset(a)) |
| 38 |
namesort(b) |
| 39 |
"ANCESTORS OF -- " upper(name(i)) " (" key(i) ") " nl() nl() |
| 40 |
forindiset(b, i, x, n) { |
| 41 |
col(1) fullname(i,1,0,36) |
| 42 |
col(38) key(i) |
| 43 |
col(49) stddate(birth(i)) |
| 44 |
col(64) stddate(death(i)) nl() |
| 45 |
} |
| 46 |
} |
| 47 |
|
| 48 |
/* Sample output of report |
| 49 |
|
| 50 |
ANCESTORS OF -- ALDA CLIFFORD MANIS (107) |
| 51 |
|
| 52 |
BARTH, Johann Ludwig 2243 1730 23 Jun 1770 |
| 53 |
BIRD, Frances Amanda 377 8 Feb 1845 26 Dec 1898 |
| 54 |
BIRD, Jacob 783 1760 |
| 55 |
BIRD, John 551 11 Oct 1795 3 Jul 1889 |
| 56 |
BIRD, Wife of Jacob 784 |
| 57 |
BOWERS, Anderson 20 1803 |
| 58 |
BOWERS, James 52 |
| 59 |
BOWERS, Martha A. 9 14 Apr 1829 22 Jul 1899 |
| 60 |
BOYD, Mary 55 1772 |
| 61 |
BRADSHAW, Jennet 9723 21 May 1772 24 Jan 1824 |
| 62 |
BRADSHAW, John F. 10033 Mar 1743 30 Sep 1818 |
| 63 |
CANTER, Cordelia "Corda" F. 39 7 Dec 1869 18 Apr 1960 |
| 64 |
CANTER, Henry B. 162 1820 |
| 65 |
CANTER, James H. 80 1847 27 Dec 1937 |
| 66 |
CARROLL, Joseph 12109 |
| 67 |
CARROLL, Sarah 9967 |
| 68 |
CLENDENIN, Agnes "Annie" 10034 May 1748 Aug 1823 |
| 69 |
CLENDENIN, Isabella 10021 |
| 70 |
CLENDENIN, John 10133 1704 1797 |
| 71 |
CORBETT, James 896 |
| 72 |
CORBETT, John 1122 |
| 73 |
CORBETT, John Williams 607 |
| 74 |
CORBETT, Mary Jane 386 9 Oct 1843 2 Nov 1918 |
| 75 |
COWAN, Christopher Columbus 54 1765 |
| 76 |
COWAN, Lurina Viney "Vina" 21 1808 |
| 77 |
COWAN, Samuel 699 |
| 78 |
COWAN, William 2250 |
| 79 |
CROCKETT, Mary 771 1780 |
| 80 |
EUDAILY, Betsy 608 |
| 81 |
FOSTER, Martha "Patsy" 6906 1810 1870 |
| 82 |
FOSTER, Thomas 6902 1780 |
| 83 |
FOSTER, Wife of Thomas 6903 |
| 84 |
FRANCIS, David 770 1769 1850 |
| 85 |
FRANCIS, Edward 965 1745 1800 |
| 86 |
FRANCIS, Mary Elizabeth 549 15 1810 |
| 87 |
FRANKLIN, Nancy 9703 |
| 88 |
GRESHAMS, Polly 897 |
| 89 |
HOUSTON, Janet "Jean" 10134 1797 |
| 90 |
HOUSTON, John 13239 6 Dec 1769 |
| 91 |
MANES, Fuller Ruben 45 19 Nov 1902 20 Jun 1980 |
| 92 |
MANES, Samuel P. 1 1780 Jan 1831 |
| 93 |
MANES, William Bowers 16 6 Jan 1868 5 May 1933 |
| 94 |
MANES, William Thomas 8 26 Nov 1828 2 Mar 1907 |
| 95 |
MANESS, John 3643 1770 |
| 96 |
MANIS, Amos 548 1805 1840 |
| 97 |
MANIS, Edith Alberta 105 8 Apr 1914 18 Jun 1992 |
| 98 |
MANIS, Thomas D.A.F.S. 376 1 Feb 1839 25 Sep 1919 |
| 99 |
MANIS, William Loyd 220 5 Sep 1872 15 Mar 1946 |
| 100 |
MCELWEE, Jane 10123 |
| 101 |
MCMURTRY, Anna 2240 9 Feb 1849 |
| 102 |
NEWMAN, Aaron 9632 18 Jan 1802 24 Jul 1884 |
| 103 |
NEWMAN, John 9702 11 Dec 1782 8 Oct 1865 |
| 104 |
NEWMAN, John Franklin 9617 4 May 1830 18 Sep 1921 |
| 105 |
NEWMAN, Jonathan 9966 25 Dec 1730 17 May 1817 |
| 106 |
NEWMAN, Lillie Caroline "Carolyn" 221 13 Jun 1881 29 Sep 1949 |
| 107 |
RANKIN, Alexander 10178 |
| 108 |
RANKIN, John 10122 1690 1749 |
| 109 |
RANKIN, Sinea 9633 7 May 1806 23 Mar 1833 |
| 110 |
RANKIN, Thomas 10020 1724 1812 |
| 111 |
RANKIN, Thomas B. 9722 3 Mar 1764 3 Aug 1821 |
| 112 |
RANKIN, William 10165 |
| 113 |
REED, Elizabeth 1123 |
| 114 |
SHRADER, Elizabeth 552 1799 19 Feb 1885 |
| 115 |
SHRADER, G. Christopher 786 1776 |
| 116 |
STEWART, George 13237 |
| 117 |
STEWART, Martha 13238 |
| 118 |
WEBB, Jesse 2239 1766 25 Mar 1848 |
| 119 |
WEBB, Mary 787 1789 |
| 120 |
WHITEHORN, James 2824 1860 |
| 121 |
WHITEHORN, Martha Marie 81 22 Dec 1846 |
| 122 |
|
| 123 |
end of report sample */ |