Computing the age of a person?

Colin Holgate coiin at rcn.com
Thu May 14 12:40:00 EDT 2009


On May 14, 2009, at 12:33 PM, J. Landman Gay wrote:

> LOL! Smart man. :)

Are you sure he's a man? 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.





More information about the use-livecode mailing list