reports/findmissing.ll
raw| 1 | /* |
| 2 | * @progname findmissing.ll |
| 3 | * @version 1.0 |
| 4 | * @author |
| 5 | * @category |
| 6 | * @output Text |
| 7 | * @description |
| 8 | * |
| 9 | * find persons that are 'isolated' in your database - no parents and not |
| 10 | * in any families.. |
| 11 | */ |
| 12 | proc main () |
| 13 | { |
| 14 | "THE FOLLOWING PERSONS ARE 'ISOLATED' IN YOUR DATABASE" nl() nl() |
| 15 | forindi(indi, num) { |
| 16 | if (and(not(parents(indi)), eq(0,nfamilies(indi)))) { |
| 17 | name(indi) " (" key(indi) ")" nl() |
| 18 | } |
| 19 | } |
| 20 | } |
| 21 |