9
* Compute Pete Cook's C-Table comparison vector, as modified by Tom.
14
getindi(i, "Compute C-Table for what person?")
15
if (not(i)) { return() }
16
set(b, getyear(birth(i)))
17
set(f, father(i)) set(m, mother(i))
18
set(ff, father(f)) set(fm, mother(f))
19
set(mf, father(m)) set(mm, mother(m))
20
set(bf, getyear(birth(f))) set(bm, getyear(birth(m)))
21
set(bff, getyear(birth(ff))) set(bfm, getyear(birth(fm)))
22
set(bmf, getyear(birth(mf))) set(bmm, getyear(birth(mm)))
23
print( b, " ", bf, " ", bm, " ")
24
print(bff, " ", bfm, " ", bmf, " ", bmm, " ")
25
print(sex(i), " ", soundex(i), " ", trim(givens(i), 1), "\n")
29
set(y, atoi(year(event)))
30
if (and(ge(y, 1000), le(y, 2000))) {return(year(event))}