Computing the age of a person?
J. Landman Gay
jacque at hyperactivesw.com
Thu May 14 12:33:40 EDT 2009
Klaus on-rev wrote:
> Hi Bob,
>
>> Youd better be careful. The way Rev is calculating math these days,
>> depending on your method, you might end up inferring a woman is 43 x 1
>> to the 13th power. :-)
>
> Don't worry, I am a gentleman by nature and always have this li'l
> function handy:
>
> function le_chevalier tGender, tReal_age
> if tGender = "f" AND tReal_age > 39 then
> return 39
> else
> return tReal_age
> end le_chevalier
LOL! Smart man. :)
--
Jacqueline Landman Gay | jacque at hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
More information about the use-livecode
mailing list