Skip to content

male (constant)

Syntax

male

Description

A constant representing the sex of male agents. The associated numeric value is 1.

This must be lower case, the capitalized Male is not recognized.

Examples

Assuming sex is a numeric variable, male agents can be sorted into the state Select with the transition rule

if (sex == male) then next(Select)

See Also