SetValue
Description
Sets the value of an Age.
Syntax
bResult = ag:SetValue(strType
[,iYears[, iMonths[, iDays]]])
Parameters
- strType
- String. Must be "=" (most common), ">", "<",
"stillborn", "infant" or "child".
- iYears
- Integer. Optional age in years. Ignored if strType is
not "=", ">" or "<".
- iMonths
- Integer. Optional age in months. Ignored if strType is
not "=", ">" or "<".
- iDays
- Integer. Optional age in days. Ignored if strType is
not "=", ">" or "<".
Return Value
- bResult
- boolean: True if the Age Object was successfully updated.