Skip to content

Ind Command

Obsolete

Indicators are obsolete, with the exception of predefined indicators that already exist in the language. Among the reasons for this is the limit of 89 user-defined indicators per program and that indicators are global.

Use the Boolean command to declare Boolean variables instead or declare properties in classes and objects. You can use the move command to set and retrieve the value of indicators.

Purpose

To set an existing indicator.

Syntax

ind
indicator
as
test

The ind command is identical to the indicate command except that an error will be declared if the named indicator does not exist. The indicate command automatically defines the indicator if it does not yet exist. The ind command will generate a compiler error if the indicator has not been previously declared by either an indicator or an indicate command. Use the ind statement if you would prefer to discover your spelling errors during compilation and not after the program is in the field!

Example

ind add_mode as file.field eq 'Y'

See Also