Debian Codegraph @

reports/fdesc.ll

raw
1 /*
2 * @progname fdesc.ll
3 * @version 1.0
4 * @author Wetmore
5 * @category
6 * @output GEDCOM
7 * @description
8
9
10 this funny little program is based on Tom Wetmore's "genancc1"
11 and generates a GEDCOM file with descendants of a chosen individual
12 who have the same surname (usually this means male line descendants
13 plus illegitimate children of daughters) plus their spouses.
14
15 a truely good program would need to exclude cases of daughters'
16 marriages with guys of the same surname but not related and include
17 male line descendants who changed surnames */
18
19 proc main ()
20 {
21 indiset(set1)
22 indiset(set2)
23 getindi(indi)
24 addtoset(set2, indi, n)
25 set(set1, descendantset(set2))
26 set(set1, union(set1, set2))
27 getindiset(set2)
28 set(set1, intersect(set1, set2))
29 set(set2, spouseset(set1))
30 set(set1, union(set1, set2))
31 gengedcom(set1)
32
33 }