| Prev | Next | Start of Chapter | End of Chapter | Contents | Glossary | Index | Comments | (11 out of 14)

Variable and Parameter Rules

The three whenever rules for use with variables and parameters are:

Whenever a Variable or Parameter Receives a Value

G2 can detect whenever a variable or parameter receives a value with a whenever rule as follows:

An indefinite validity interval for a variable affects how and when G2 invokes a receives a value whenever rule. For more information, see Using an Indefinite Interval.

Whenever a Variable Fails to Receive a Value

G2 can detect when a variable fails to receive a value with a whenever rule as follows:

Whenever a Variable Loses Its Value

G2 can detect when a variable loses its value with a whenever rule as follows:

| Prev | Next | Start of Chapter | End of Chapter | Contents | Glossary | Index | Comments | (11 out of 14)

Copyright © 1997 Gensym Corporation, Inc.