Computing the age of a person?
Klaus on-rev
klaus at major.on-rev.com
Thu May 14 12:13:44 EDT 2009
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
:-D
> Bob Sneidar
> IT Manager
> Logos Management
> Calvary Chapel CM
Best
Klaus
--
Klaus Major
http://www.major-k.de
klaus at major.on-rev.com
More information about the use-livecode
mailing list