Debian Codegraph @

reports/fam16rn1.ll

raw
1 /*
2 * @progname fam16rn1.ll
3 * @version 1.0
4 * @author Wetmore, Manis
5 * @category
6 * @output Text
7 * @description
8 *
9 * This program produces a family report of the person (husband), wife,
10 * their children, and some data about the children's marriages.
11 * It is presently designed for 16 pitch, HP laserjet III,
12 * printing a single page of information about that family.
13 *
14 * fam16rn1
15 *
16 * Code by Tom Wetmore, [email protected]
17 * 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 * and it has been modified many times since.
23 *
24 * Output is an ASCII file.
25 *
26 */
27
28 proc main ()
29 {
30 getfam(fam)
31
32 dayformat(0)
33 monthformat(4)
34 dateformat(0)
35 set(tday, gettoday())
36 set (nl,nl())
37 set(h,husband(fam))
38 set(w,wife(fam))
39 col(6) "Report by: Cliff Manis "
40 nl
41 col(19) "MANIS / MANES Family History"
42 col(50) "P. O. Box 33937 San Antonio, TX 78265-3937"
43 nl nl nl
44 col(6) "HUSBAND: " fullname(h,1,1,50) " (RN=" key(h) ")"
45 col(80) "Report date: " stddate(tday)
46 nl nl
47 set(evt, birth(h))
48 col(6) "Born: " stddate(evt) col(35) "Place: " place(evt)
49 set(evt, marriage(fam))
50 col(6) "Marr: " stddate(evt) col(35) "Place: " place(evt)
51 set(evt, death(h))
52 col(6) "Died: " stddate(evt) col(35) "Place: " place(evt)
53 col(6) "HUSBAND'S" col(50) "HUSBAND'S"
54 col(6) "FATHER: " name(father(h)) " (RN=" key(father(h)) ")"
55 col(50) "MOTHER: " name(mother(h)) " (RN=" key(mother(h)) ")"
56 nl nl
57 col(6) "WIFE: " fullname(w,1,1,50) " (RN=" key(w) ")"
58 nl nl
59 set(evt, birth(w))
60 col(6) "Born: " stddate(evt) col(35) "Place: " place(evt)
61 set(evt, death(w))
62 col(6) "Died: " stddate(evt) col(35) "Place: " place(evt)
63 col(6) "WIFE'S" col(50) "WIFE'S"
64 col(6) "FATHER: " name(father(w)) " (RN=" key(father(w)) ")"
65 col(50) "MOTHER: " name(mother(w)) " (RN=" key(mother(w)) ")"
66 nl nl
67 col(6) "==============================================="
68 col(53) "======================================="
69 col(92) "==========================" nl
70 col(8) "M/F"
71 col(22) "CHILDREN"
72 col(45) "WHEN BORN"
73 col(62) "WHEN DIED"
74 col(82) "WHERE BORN"
75 nl
76 col(45) "1st MARRIAGE"
77 col(62) "SPOUSE"
78 nl
79 col(6) "==============================================="
80 col(53) "======================================="
81 col(92) "==========================" nl
82 children(fam, child, num) {
83 col(6) d(num)
84 col(9) sex(child)
85 col(11) name(child) " (RN=" key(child) ")"
86 col(45) stddate(birth(child))
87 col(62) stddate(death(child))
88 col(82) place(birth(child))
89 families(child, fvar, svar, num) {
90 if (eq(num,1)) {
91 col(45) stddate(marriage(fvar))
92 col(62) if (svar) { name(svar) " (RN=" key(child) ")" }
93 else { " " }
94 nl nl
95 }
96 }
97 if (eq(nfamilies(child),0)) { " " nl nl }
98 }
99 }
100
101 /* End of Report */
102