Mature Method

See Also Applies To Example Model

Increments the Age property.

object expression.Mature ([Increment])

object expression    Required. An object expression that evaluates to an object in the Applies To list.

Increment    Optional Double. A real number specifying how much to increment the Age property. Defaults to 1.0.

Example

The following example increments each Bot object's age using the Mature method. It then checks the age of each Bot using the Age method. If the age of the Bot is greater than 82, the Bot dies of old age.

Bots.Mature
For Each Bot in Bots
     If Bot.Age > 82 Then Bot.Die
Next Bot