File: findmissing.ll

package info (click to toggle)
lifelines 3.0.37.2-3
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 8,312 kB
  • ctags: 6,091
  • sloc: ansic: 52,969; xml: 7,212; sh: 4,382; makefile: 724; yacc: 591; perl: 170; sed: 16
file content (21 lines) | stat: -rw-r--r-- 521 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/*
 * @progname       findmissing
 * @version        1.0
 * @author         
 * @category       
 * @output         Text
 * @description    
 *
 * find persons that are 'isolated' in your database - no parents and not
 * in any families..
 */
proc main ()
{
        "THE FOLLOWING PERSONS ARE 'ISOLATED' IN YOUR DATABASE" nl() nl()
        forindi(indi, num) {
                if (and(not(parents(indi)), eq(0,nfamilies(indi)))) {
                        name(indi) " (" key(indi) ")" nl()
                }
        }
}