newbie requires help
Rob Cozens
rcozens at pon.net
Sun Jan 25 10:56:58 EST 2004
Douglas,
<<
if daysOld < 0 then
put abs(daysOld) into daysOld
subtract 1 from monthsOld
end if
>>
This worked for the dates I tried; however I see now it is not always
correct: someone born on January 31, 2004 would show an age of 29
days on February 2, 2004 instead of 2 days.
Let me see what it takes to deal with this...
--
Rob Cozens
CCW, Serendipity Software Company
http://www.oenolog.net/who.htm
"And I, which was two fooles, do so grow three;
Who are a little wise, the best fooles bee."
from "The Triple Foole" by John Donne (1572-1631)
More information about the use-livecode
mailing list