Message from discussion
Search for Living Relatives born after a certain date
Received: by 10.204.7.133 with SMTP id d5mr895739bkd.21.1309790230466;
Mon, 04 Jul 2011 07:37:10 -0700 (PDT)
X-BeenThere: geditcom-ii-discussions@googlegroups.com
Received: by 10.204.38.88 with SMTP id a24ls3308929bke.1.gmail; Mon, 04 Jul
2011 07:37:09 -0700 (PDT)
Received: by 10.204.7.133 with SMTP id d5mr895736bkd.21.1309790229570;
Mon, 04 Jul 2011 07:37:09 -0700 (PDT)
Received: by 10.204.7.133 with SMTP id d5mr895734bkd.21.1309790229511;
Mon, 04 Jul 2011 07:37:09 -0700 (PDT)
Return-Path: <johnana...@gmail.com>
Received: from mail-fx0-f53.google.com (mail-fx0-f53.google.com [209.85.161.53])
by gmr-mx.google.com with ESMTPS id o23si1861486faa.0.2011.07.04.07.37.09
(version=TLSv1/SSLv3 cipher=OTHER);
Mon, 04 Jul 2011 07:37:09 -0700 (PDT)
Received-SPF: pass (google.com: domain of johnana...@gmail.com designates 209.85.161.53 as permitted sender) client-ip=209.85.161.53;
Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of johnana...@gmail.com designates 209.85.161.53 as permitted sender) smtp.mail=johnana...@gmail.com; dkim=pass (test mode) header...@gmail.com
Received: by mail-fx0-f53.google.com with SMTP id 23so3575995fxd.12
for <geditcom-ii-discussions@googlegroups.com>; Mon, 04 Jul 2011 07:37:09 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=gamma;
h=from:mime-version:content-type:subject:date:in-reply-to:to
:references:message-id:x-mailer;
bh=b5nXhupmKiuyma4i2kJR3RF9Xj82ltG9Njzd7nm2DJI=;
b=lJyQJgu6y72XXl8FZhdzJcuyyFN70P68ZLnMVMpnVYARAeU6bLeKNucMt2ez2pm07w
qiauYR188rBzbVoD3sq0krK4LeiON7zqc04Mgcv6YnMhzQYTK9FVfHflCaCraMsICarQ
owx2hAnreHMwFk41PB9Qcd1Swxco1Iyz3YLu0=
Received: by 10.223.21.215 with SMTP id k23mr9764629fab.88.1309790228970;
Mon, 04 Jul 2011 07:37:08 -0700 (PDT)
Return-Path: <johnana...@gmail.com>
Received: from tsf4-249.epfl.ch (enclair-053.epfl.ch [192.33.202.53])
by mx.google.com with ESMTPS id b3sm4591130fao.20.2011.07.04.07.37.07
(version=TLSv1/SSLv3 cipher=OTHER);
Mon, 04 Jul 2011 07:37:07 -0700 (PDT)
From: Nairn John <johnana...@gmail.com>
Mime-Version: 1.0 (Apple Message framework v1082)
Content-Type: multipart/alternative; boundary=Apple-Mail-1-770544461
Subject: Re: Search for Living Relatives born after a certain date
Date: Mon, 4 Jul 2011 16:37:06 +0200
In-Reply-To: <3144622.7577.1309715971013.JavaMail.geo-discussion-forums@yqip5>
To: geditcom-ii-discussions@googlegroups.com
References: <3144622.7577.1309715971013.JavaMail.geo-discussion-forums@yqip5>
Message-Id: <3DEBE3B4-D456-4E5C-96B9-64FA7CE3E...@geditcom.com>
X-Mailer: Apple Mail (2.1082)
--Apple-Mail-1-770544461
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
charset=us-ascii
I am not exactly sure what the goal of the scripts are, but I expect you =
are not getting what you want with comparisons like
if bday > "01 01 1915" then
This is doing a string comparison and Apple Script will not recognize =
the strings as dates and therefore will not compare them as dates; they =
will rank in alphabetical order. Furthermore, the property "birth date" =
will return the date in GEDCOM format so it will be something like "12 =
NOV 1934" and not numbers (you can get numbers if you want by using date =
format conversions).
If you are trying to do date comparisons, you should always be using =
date SDNs (for serial day numbers). These are day numbers assigned to =
dates (starting from about 4000 BC). You can compare SDNs (because they =
are numbers) and it will work for any calendar (because the date is =
converted to a number). You probably want something like
set sdnRange to sdn range full date "1 JAN 1915"
set minSDN to item 1 of sdnRange
tell item i of indisRef
set bday to birth SDN
if bday >=3D minSDN
-- this person has a valid birth date that is after or on 1 JAN =
1915
-- do any desired calculations
end if
end tell
I did not test this in Script editor, but I think the basic ideas are =
correct. The first line converts date "1 JAN 1915" to an sdnRange in a =
list. Since it is an exact date, the list will have two identical =
numbers. The next line loads the first item into a variable. Now when =
looking at the individual, grab the birth SDN (and not the date text). =
This SDN can be compared to the one calculated in minSDN. If the birth =
date is not an exact date (e.g., 1934), the "birth SDN" property will =
give the minimum possible SDN (for "1934" it would be SDN for "1 JAN =
1934). If it matters, you can retrieve the "birth SDN max" as well which =
has the maximum possible SDN for non-exact dates (for "1934" it would be =
SDN for "31 DEC 1934").
The second script also has some errors. It does an age calculation only =
if death date is empty. But that means there is no death date. The =
property death SDN will therefore return 0 (which for SDNs means no date =
or an invalid date). The age calculation will thus give birth SDN/365.25 =
which will always be very large numbers (around 6000 for people born in =
20th century).
Once inside the conditional (as corrected above) you probably want
set dday to death date SDN
if dday > 0 then
set age to (dday - bday) / 365.25
if age > 0 then
-- thus person has known birth and death dates and was over 80 =
at death
end if
end if
For a refinement, you might want to use (death SDN max - birth SDN) / =
365.25, which will catch everyone that could have been 80 when they died =
(i.e., age calculated from maximum number of days they were alive based =
on recorded date information). Or possibly (death SDN - birth SDN max) / =
365.25 , which will only catch those that were certainly over than 80 =
based on records date information (i.e., age calculated from minimum =
possible days they were alive).
To see some date calculations in action, you can look at the "Age =
Analysis Report" script (you can open it for viewing by selecting in =
from the scripts menu in GEDitCOM II while holding down the option key).
On Jul 3, 2011, at 7:59 PM, daa wrote:
> OK, so I have been looking at some of the canned scripts and have come =
up with the following (snippet from a longer version) that works, =
almost, it gets dates in the 1800's. I'm a little confused as to how the =
dates are handled apparently. Any ideas?
>=20
> tell item i of indisRef
> set bday to birth date
> if bday > "01 01 1915" then
> if death date =3D "" then
> set theLine to {first name, =
middle name, surname, life span} of item i of indisRef
> copy theLine to the end of =
indi_list
> end if
> end if
> end tell
>=20
> I was also playing around with this:
>=20
> tell item i of indisRef
> --set bdate to (date year of birth date)
> --if bdate > "1915" then
> set bdate to birth date
> if bdate > "01 01 1915" then
> if death date =3D "" then
> --set ddate to date today
> set age to (birth SDN - death =
SDN) / 365.25
> if age > 80 then
> set theLine to {first =
name, middle name, surname, life span} of item i of indisRef
> copy theLine to the end =
of indi_list
> end if
> end if
> end if
> end tell
>=20
------------
John Nairn
http://www.geditcom.com
Genealogy Software for the Mac
--Apple-Mail-1-770544461
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
charset=us-ascii
<html><head></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">I am =
not exactly sure what the goal of the scripts are, but I expect you are =
not getting what you want with comparisons like<div><br></div><div>if =
bday > "01 01 1915" then</div><div><br></div><div>This is doing a =
string comparison and Apple Script will not recognize the strings as =
dates and therefore will not compare them as dates; they will rank in =
alphabetical order. Furthermore, the property "birth date" will return =
the date in GEDCOM format so it will be something like "12 NOV 1934" and =
not numbers (you can get numbers if you want by using date format =
conversions).</div><div><br></div><div>If you are trying to do date =
comparisons, you should always be using date SDNs (for serial day =
numbers). These are day numbers assigned to dates (starting from about =
4000 BC). You can compare SDNs (because they are numbers) and it will =
work for any calendar (because the date is converted to a number). You =
probably want something like</div><div><br></div><div><div>set sdnRange =
to sdn range full date "1 JAN 1915"</div><div>set minSDN to item 1 of =
sdnRange</div><div>tell item i of indisRef</div><div> =
set bday to birth SDN</div><div> if bday >=3D =
minSDN</div><div> -- this person has a =
valid birth date that is after or on 1 JAN 1915</div><div> =
-- do any desired =
calculations</div><div> end if</div><div>end =
tell</div></div><div><br></div><div>I did not test this in Script =
editor, but I think the basic ideas are correct. The first line converts =
date "1 JAN 1915" to an sdnRange in a list. Since it is an exact date, =
the list will have two identical numbers. The next line loads the first =
item into a variable. Now when looking at the individual, grab the birth =
SDN (and not the date text). This SDN can be compared to the one =
calculated in minSDN. If the birth date is not an exact date (e.g., =
1934), the "birth SDN" property will give the minimum possible SDN (for =
"1934" it would be SDN for "1 JAN 1934). If it matters, you can retrieve =
the "birth SDN max" as well which has the maximum possible SDN for =
non-exact dates (for "1934" it would be SDN for "31 DEC =
1934").</div><div><br></div><div>The second script also has some errors. =
It does an age calculation only if death date is empty. But that means =
there is no death date. The property death SDN will therefore return 0 =
(which for SDNs means no date or an invalid date). The age calculation =
will thus give birth SDN/365.25 which will always be very large numbers =
(around 6000 for people born in 20th =
century).</div><div><br></div><div>Once inside the conditional (as =
corrected above) you probably want</div><div><br></div><div>set dday to =
death date SDN</div><div>if dday > 0 then</div><div> =
set age to (dday - bday) / 365.25</div><div> =
if age > 0 then</div><div> -- =
thus person has known birth and death dates and was over 80 at =
death</div><div> end if</div><div>end =
if</div><div><br></div><div>For a refinement, you might want to use =
(death SDN max - birth SDN) / 365.25, which will catch everyone that =
could have been 80 when they died (i.e., age calculated from maximum =
number of days they were alive based on recorded date information). Or =
possibly (death SDN - birth SDN max) / 365.25 , which will =
only catch those that were certainly over than 80 based on records date =
information (i.e., age calculated from minimum possible days they were =
alive).</div><div><br></div><div>To see some date calculations in =
action, you can look at the "Age Analysis Report" script (you can open =
it for viewing by selecting in from the scripts menu in GEDitCOM II =
while holding down the option key).</div><div><br></div><div>On Jul 3, =
2011, at 7:59 PM, daa wrote:</div><div><div><div><br =
class=3D"Apple-interchange-newline"><blockquote type=3D"cite">OK, so I =
have been looking at some of the canned scripts and have come up with =
the following (snippet from a longer version) that works, almost, it =
gets dates in the 1800's. I'm a little confused as to how the dates are =
handled apparently. Any ideas?<div><br></div><div><div =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 117.8px; text-indent: -117.8px; font: normal normal normal =
12px/normal Verdana; color: rgb(64, 128, 0); "><span style=3D"font: =
12.0px Helvetica; color: #000000"><span class=3D"Apple-tab-span" =
style=3D"white-space:pre"> </span></span><span =
style=3D"color: #2900ff"><b>tell</b></span><span style=3D"font: 12.0px =
Helvetica; color: #000000"> </span><span style=3D"color: =
#0000ff">item</span><span style=3D"font: 12.0px Helvetica; color: =
#000000"> </span>i<span style=3D"font: 12.0px Helvetica; color: =
#000000"> </span><span style=3D"color: #2900ff"><b>of</b></span><span =
style=3D"font: 12.0px Helvetica; color: #000000"> =
</span>indisRef</div><div style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 157.1px; text-indent: -157.1px; font: =
normal normal normal 12px/normal Verdana; color: rgb(0, 0, 255); "><span =
style=3D"font: 12.0px Helvetica; color: #000000"><span =
class=3D"Apple-tab-span" style=3D"white-space:pre"> =
</span></span><span style=3D"color: #2900ff"><b>set</b></span><span =
style=3D"font: 12.0px Helvetica; color: #000000"> </span><span =
style=3D"color: #408000">bday</span><span style=3D"font: 12.0px =
Helvetica; color: #000000"> </span><span style=3D"color: =
#2900ff"><b>to</b></span><span style=3D"font: 12.0px Helvetica; color: =
#000000"> </span>birth date</div><div style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 157.1px; =
text-indent: -157.1px; font: normal normal normal 12px/normal Verdana; =
"><span style=3D"font: 12.0px Helvetica"><span class=3D"Apple-tab-span" =
style=3D"white-space:pre"> </span></span><span =
style=3D"color: #2900ff"><b>if</b></span><span style=3D"font: 12.0px =
Helvetica"> </span><span style=3D"color: #408000">bday</span><span =
style=3D"font: 12.0px Helvetica"> </span>><span style=3D"font: 12.0px =
Helvetica"> </span>"01 01 1915"<span style=3D"font: 12.0px Helvetica"> =
</span><span style=3D"color: #2900ff"><b>then</b></span></div><div =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 196.4px; text-indent: -196.4px; font: normal normal normal =
12px/normal Verdana; "><span style=3D"font: 12.0px Helvetica"><span =
class=3D"Apple-tab-span" style=3D"white-space:pre"> =
</span></span><span style=3D"color: #2900ff"><b>if</b></span><span =
style=3D"font: 12.0px Helvetica"> </span><span style=3D"color: =
#0000ff">death date</span><span style=3D"font: 12.0px Helvetica"> =
</span>=3D<span style=3D"font: 12.0px Helvetica"> </span>""<span =
style=3D"font: 12.0px Helvetica"> </span><span style=3D"color: =
#2900ff"><b>then</b></span></div><div style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 235.6px; =
text-indent: -235.7px; font: normal normal normal 12px/normal Verdana; =
color: rgb(0, 0, 255); "><span style=3D"font: 12.0px Helvetica; color: =
#000000"><span class=3D"Apple-tab-span" style=3D"white-space:pre"> =
</span></span><span style=3D"color: =
#2900ff"><b>set</b></span><span style=3D"font: 12.0px Helvetica; color: =
#000000"> </span><span style=3D"color: #408000">theLine</span><span =
style=3D"font: 12.0px Helvetica; color: #000000"> </span><span =
style=3D"color: #2900ff"><b>to</b></span><span style=3D"font: 12.0px =
Helvetica; color: #000000"> </span><span style=3D"color: =
#000000">{</span>first name<span style=3D"color: #000000">,</span><span =
style=3D"font: 12.0px Helvetica; color: #000000"> </span>middle =
name<span style=3D"color: #000000">,</span><span style=3D"font: 12.0px =
Helvetica; color: #000000"> </span>surname<span style=3D"color: =
#000000">,</span><span style=3D"font: 12.0px Helvetica; color: #000000"> =
</span>life span<span style=3D"color: #000000">}</span><span =
style=3D"font: 12.0px Helvetica; color: #000000"> </span><span =
style=3D"color: #2900ff"><b>of</b></span><span style=3D"font: 12.0px =
Helvetica; color: #000000"> </span>item<span style=3D"font: 12.0px =
Helvetica; color: #000000"> </span><span style=3D"color: =
#408000">i</span><span style=3D"font: 12.0px Helvetica; color: #000000"> =
</span><span style=3D"color: #2900ff"><b>of</b></span><span style=3D"font:=
12.0px Helvetica; color: #000000"> </span><span style=3D"color: =
#408000">indisRef</span></div><div style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 235.6px; =
text-indent: -235.7px; font: normal normal normal 12px/normal Verdana; =
color: rgb(64, 128, 0); "><span style=3D"font: 12.0px Helvetica; color: =
#000000"><span class=3D"Apple-tab-span" style=3D"white-space:pre"> =
</span></span><span style=3D"color: =
#2900ff"><b>copy</b></span><span style=3D"font: 12.0px Helvetica; color: =
#000000"> </span>theLine<span style=3D"font: 12.0px Helvetica; color: =
#000000"> </span><span style=3D"color: #2900ff"><b>to</b></span><span =
style=3D"font: 12.0px Helvetica; color: #000000"> </span><span =
style=3D"color: #2900ff"><b>the</b></span><span style=3D"font: 12.0px =
Helvetica; color: #000000"> </span><span style=3D"color: =
#2900ff"><b>end</b></span><span style=3D"font: 12.0px Helvetica; color: =
#000000"> </span><span style=3D"color: #2900ff"><b>of</b></span><span =
style=3D"font: 12.0px Helvetica; color: #000000"> =
</span>indi_list</div><div style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 196.4px; text-indent: -196.4px; font: =
normal normal normal 12px/normal Helvetica; "><span =
class=3D"Apple-tab-span" style=3D"white-space:pre"> =
</span><span style=3D"font: 12.0px Verdana; color: =
#2900ff"><b>end</b></span> <span style=3D"font: 12.0px Verdana; color: =
#2900ff"><b>if</b></span></div><div style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 157.1px; =
text-indent: -157.1px; font: normal normal normal 12px/normal Verdana; =
color: rgb(41, 0, 255); "><span style=3D"font: 12.0px Helvetica; color: =
#000000"><span class=3D"Apple-tab-span" style=3D"white-space:pre"> =
</span></span><b>end</b><span style=3D"font: 12.0px Helvetica; =
color: #000000"> </span><b>if</b></div><div style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 117.8px; =
text-indent: -117.8px; font: normal normal normal 12px/normal Verdana; =
color: rgb(41, 0, 255); "><span style=3D"font: 12.0px Helvetica; color: =
#000000"><span class=3D"Apple-tab-span" style=3D"white-space:pre"> =
</span></span><b>end</b><span style=3D"font: 12.0px Helvetica; color: =
#000000"> </span><b>tell</b></div><div style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 117.8px; =
text-indent: -117.8px; font: normal normal normal 12px/normal Verdana; =
color: rgb(41, 0, 255); "><b><br></b></div><div style=3D"margin-top: =
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 117.8px; =
text-indent: -117.8px; font: normal normal normal 12px/normal Verdana; =
color: rgb(41, 0, 255); "><b>I was also playing around with =
this:</b></div><div style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 117.8px; text-indent: -117.8px; font: =
normal normal normal 12px/normal Verdana; color: rgb(41, 0, 255); =
"><b><br></b></div><div style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 117.8px; text-indent: -117.8px; font: =
normal normal normal 12px/normal Verdana; color: rgb(41, 0, 255); =
"><b></b></div><b><div style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 84.1px; text-indent: -84.1px; font: =
normal normal normal 12px/normal Verdana; color: rgb(64, 128, 0); =
"><span style=3D"font: 12.0px Helvetica; color: #000000"><span =
class=3D"Apple-tab-span" style=3D"white-space:pre"> =
</span></span><span style=3D"color: #2900ff"><b>tell</b></span><span =
style=3D"font: 12.0px Helvetica; color: #000000"> </span><span =
style=3D"color: #0000ff">item</span><span style=3D"font: 12.0px =
Helvetica; color: #000000"> </span>i<span style=3D"font: 12.0px =
Helvetica; color: #000000"> </span><span style=3D"color: =
#2900ff"><b>of</b></span><span style=3D"font: 12.0px Helvetica; color: =
#000000"> </span>indisRef</div><div style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 112.1px; =
text-indent: -112.2px; font: normal normal normal 12px/normal Verdana; =
color: rgb(76, 78, 78); "><span style=3D"font: 12.0px Helvetica; color: =
#000000"><span class=3D"Apple-tab-span" style=3D"white-space:pre"> =
</span></span><span style=3D"color: #000000">--</span>set bdate =
to (date year of birth date)</div><div style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 112.1px; =
text-indent: -112.2px; font: normal normal normal 12px/normal Verdana; =
color: rgb(76, 78, 78); "><span style=3D"font: 12.0px Helvetica; color: =
#000000"><span class=3D"Apple-tab-span" style=3D"white-space:pre"> =
</span></span><span style=3D"color: #000000">--</span>if bdate =
> "1915" then</div><div style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 112.1px; text-indent: -112.2px; font: =
normal normal normal 12px/normal Verdana; color: rgb(0, 0, 255); "><span =
style=3D"font: 12.0px Helvetica; color: #000000"><span =
class=3D"Apple-tab-span" style=3D"white-space:pre"> =
</span></span><span style=3D"color: #2900ff"><b>set</b></span><span =
style=3D"font: 12.0px Helvetica; color: #000000"> </span><span =
style=3D"color: #408000">bdate</span><span style=3D"font: 12.0px =
Helvetica; color: #000000"> </span><span style=3D"color: =
#2900ff"><b>to</b></span><span style=3D"font: 12.0px Helvetica; color: =
#000000"> </span>birth date</div><div style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 112.1px; =
text-indent: -112.2px; font: normal normal normal 12px/normal Verdana; =
"><span style=3D"font: 12.0px Helvetica"><span class=3D"Apple-tab-span" =
style=3D"white-space:pre"> </span></span><span =
style=3D"color: #2900ff"><b>if</b></span><span style=3D"font: 12.0px =
Helvetica"> </span><span style=3D"color: #408000">bdate</span><span =
style=3D"font: 12.0px Helvetica"> </span>><span style=3D"font: 12.0px =
Helvetica"> </span>"01 01 1915"<span style=3D"font: 12.0px Helvetica"> =
</span><span style=3D"color: #2900ff"><b>then</b></span></div><div =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 140.1px; text-indent: -140.2px; font: normal normal normal =
12px/normal Verdana; "><span style=3D"font: 12.0px Helvetica"><span =
class=3D"Apple-tab-span" style=3D"white-space:pre"> =
</span></span><span style=3D"color: #2900ff"><b>if</b></span><span =
style=3D"font: 12.0px Helvetica"> </span><span style=3D"color: =
#0000ff">death date</span><span style=3D"font: 12.0px Helvetica"> =
</span>=3D<span style=3D"font: 12.0px Helvetica"> </span>""<span =
style=3D"font: 12.0px Helvetica"> </span><span style=3D"color: =
#2900ff"><b>then</b></span></div><div style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 168.1px; =
text-indent: -168.2px; font: normal normal normal 12px/normal Verdana; =
color: rgb(76, 78, 78); "><span style=3D"font: 12.0px Helvetica; color: =
#000000"><span class=3D"Apple-tab-span" style=3D"white-space:pre"> =
</span></span><span style=3D"color: =
#000000">--</span>set ddate to date today</div><div style=3D"margin-top: =
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 168.1px; =
text-indent: -168.2px; font: normal normal normal 12px/normal Verdana; =
"><span style=3D"font: 12.0px Helvetica"><span class=3D"Apple-tab-span" =
style=3D"white-space:pre"> =
</span></span><span style=3D"color: #2900ff"><b>set</b></span><span =
style=3D"font: 12.0px Helvetica"> </span><span style=3D"color: =
#408000">age</span><span style=3D"font: 12.0px Helvetica"> </span><span =
style=3D"color: #2900ff"><b>to</b></span><span style=3D"font: 12.0px =
Helvetica"> </span>(<span style=3D"color: #0000ff">birth SDN</span><span =
style=3D"font: 12.0px Helvetica"> </span>-<span style=3D"font: 12.0px =
Helvetica"> </span><span style=3D"color: #0000ff">death SDN</span>)<span =
style=3D"font: 12.0px Helvetica"> </span>/<span style=3D"font: 12.0px =
Helvetica"> </span>365.25</div><div style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 168.1px; =
text-indent: -168.2px; font: normal normal normal 12px/normal Verdana; =
"><span style=3D"font: 12.0px Helvetica"><span class=3D"Apple-tab-span" =
style=3D"white-space:pre"> =
</span></span><span style=3D"color: #2900ff"><b>if</b></span><span =
style=3D"font: 12.0px Helvetica"> </span><span style=3D"color: =
#408000">age</span><span style=3D"font: 12.0px Helvetica"> =
</span>><span style=3D"font: 12.0px Helvetica"> </span>80<span =
style=3D"font: 12.0px Helvetica"> </span><span style=3D"color: =
#2900ff"><b>then</b></span></div><div style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 196.2px; =
text-indent: -196.2px; font: normal normal normal 12px/normal Verdana; =
color: rgb(0, 0, 255); "><span style=3D"font: 12.0px Helvetica; color: =
#000000"><span class=3D"Apple-tab-span" style=3D"white-space:pre"> =
</span></span><span style=3D"color: =
#2900ff"><b>set</b></span><span style=3D"font: 12.0px Helvetica; color: =
#000000"> </span><span style=3D"color: #408000">theLine</span><span =
style=3D"font: 12.0px Helvetica; color: #000000"> </span><span =
style=3D"color: #2900ff"><b>to</b></span><span style=3D"font: 12.0px =
Helvetica; color: #000000"> </span><span style=3D"color: =
#000000">{</span>first name<span style=3D"color: #000000">,</span><span =
style=3D"font: 12.0px Helvetica; color: #000000"> </span>middle =
name<span style=3D"color: #000000">,</span><span style=3D"font: 12.0px =
Helvetica; color: #000000"> </span>surname<span style=3D"color: =
#000000">,</span><span style=3D"font: 12.0px Helvetica; color: #000000"> =
</span>life span<span style=3D"color: #000000">}</span><span =
style=3D"font: 12.0px Helvetica; color: #000000"> </span><span =
style=3D"color: #2900ff"><b>of</b></span><span style=3D"font: 12.0px =
Helvetica; color: #000000"> </span>item<span style=3D"font: 12.0px =
Helvetica; color: #000000"> </span><span style=3D"color: =
#408000">i</span><span style=3D"font: 12.0px Helvetica; color: #000000"> =
</span><span style=3D"color: #2900ff"><b>of</b></span><span style=3D"font:=
12.0px Helvetica; color: #000000"> </span><span style=3D"color: =
#408000">indisRef</span></div><div style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 196.2px; =
text-indent: -196.2px; font: normal normal normal 12px/normal Verdana; =
color: rgb(64, 128, 0); "><span style=3D"font: 12.0px Helvetica; color: =
#000000"><span class=3D"Apple-tab-span" style=3D"white-space:pre"> =
</span></span><span style=3D"color: =
#2900ff"><b>copy</b></span><span style=3D"font: 12.0px Helvetica; color: =
#000000"> </span>theLine<span style=3D"font: 12.0px Helvetica; color: =
#000000"> </span><span style=3D"color: #2900ff"><b>to</b></span><span =
style=3D"font: 12.0px Helvetica; color: #000000"> </span><span =
style=3D"color: #2900ff"><b>the</b></span><span style=3D"font: 12.0px =
Helvetica; color: #000000"> </span><span style=3D"color: =
#2900ff"><b>end</b></span><span style=3D"font: 12.0px Helvetica; color: =
#000000"> </span><span style=3D"color: #2900ff"><b>of</b></span><span =
style=3D"font: 12.0px Helvetica; color: #000000"> =
</span>indi_list</div><div style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 168.1px; text-indent: -168.2px; font: =
normal normal normal 12px/normal Helvetica; "><span =
class=3D"Apple-tab-span" style=3D"white-space:pre"> =
</span><span style=3D"font: 12.0px Verdana; color: =
#2900ff"><b>end</b></span> <span style=3D"font: 12.0px Verdana; color: =
#2900ff"><b>if</b></span></div><div style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 140.1px; =
text-indent: -140.2px; font: normal normal normal 12px/normal Helvetica; =
"><span class=3D"Apple-tab-span" style=3D"white-space:pre"> =
</span><span style=3D"font: 12.0px Verdana; color: =
#2900ff"><b>end</b></span> <span style=3D"font: 12.0px Verdana; color: =
#2900ff"><b>if</b></span></div><div style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 112.1px; =
text-indent: -112.2px; font: normal normal normal 12px/normal Verdana; =
color: rgb(41, 0, 255); "><span style=3D"font: 12.0px Helvetica; color: =
#000000"><span class=3D"Apple-tab-span" style=3D"white-space:pre"> =
</span></span><b>end</b><span style=3D"font: 12.0px Helvetica; =
color: #000000"> </span><b>if</b></div><div style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 84.1px; text-indent: =
-84.1px; font: normal normal normal 12px/normal Verdana; color: rgb(41, =
0, 255); "><span style=3D"font: 12.0px Helvetica; color: #000000"><span =
class=3D"Apple-tab-span" style=3D"white-space:pre"> =
</span></span><b>end</b><span style=3D"font: 12.0px Helvetica; color: =
#000000"> </span><b>tell</b></div></b><div><br =
class=3D"webkit-block-placeholder"></div></div></blockquote></div><br><div=
>
<div style=3D"font-size: 12px; "><div>------------</div><div>John =
Nairn</div><div><a =
href=3D"http://www.geditcom.com">http://www.geditcom.com</a></div><div>Gen=
ealogy Software for the Mac</div></div>
</div>
<br></div></div></body></html>=
--Apple-Mail-1-770544461--