4,599
edits
No edit summary |
No edit summary |
||
Line 82: | Line 82: | ||
--Calculates a persons age using the specified calendar | --Calculates a persons age using the specified calendar | ||
function p._age(frame) | function p._age(frame) | ||
firstDate = frame | firstDate = frame[1] | ||
secondDate = frame | secondDate = frame[2] | ||
status = frame | status = frame[3] | ||
calendar = frame | calendar = frame[4] | ||
--checks if firstDate is not nil, and if it is returns the second date | --checks if firstDate is not nil, and if it is returns the second date | ||
if firstDate ~= nil then | if firstDate ~= nil then |