4,599
edits
No edit summary |
No edit summary |
||
Line 81: | Line 81: | ||
--Calculates a persons age using the specified calendar | --Calculates a persons age using the specified calendar | ||
function p._age( | function p._age(args) | ||
firstDate = | firstDate = args[1] | ||
secondDate = | secondDate = args[2] | ||
status = | status = args[3] | ||
calendar = | calendar = args[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 |