Functions (all)

Sex

Function Name:
Sex
Description:
This function returns different text depending on the sex of the Individual in the first parameter.
Minimum FH Version:
6.0.5
No. of Parameters:
4
Return Type:
Text
Parameter 1:
Reference to an Individual.
Parameter 2:
Optional text to return if Individual is male.  Default if not supplied is "male".
Parameter 3:
Optional text to return if Individual is female.  Default if not supplied is "female".
Parameter 4:
Optional text to return if Individual's sex is not known.  Default if not supplied is parameter 2 text if supplied, or "male" if not.
Examples:

=Sex(%INDI%, "son", "daughter", "child")

=Sex(%INDI%)