Computing the age of a person?

Klaus on-rev klaus at major.on-rev.com
Thu May 14 12:44:28 EDT 2009


Hi Colin,

> On May 14, 2009, at 12:33 PM, J. Landman Gay wrote:
>
>> LOL! Smart man. :)
> Are you sure he's a man?

I just took a look, and yes, I am, Mr. Chauvi :D

> Also, he should have said:
>
> function le_chevalier tGEner,tReal_age
>  if tGender = "f" then return min(39,tReal_age)
>  return tReal_age
> end le_chevalier
>
> no need for the AND or the ELSE parts.

Phew, smartass ;-)


Best

Klaus (m, definitively!)

--
Klaus Major
http://www.major-k.de
klaus at major.on-rev.com




More information about the use-livecode mailing list