4. Embedded QUEL for Fortran : Fortran Variables and Data Types : Variable Usage : Using Indicator Variables
 
Share this page                  
Using Indicator Variables
The syntax for referring to an indicator variable is the same as for a simple variable, except that an indicator variable is always associated with a host variable:
host_variable:indicator_variable
Syntax Note:
The indicator variable can be a simple variable, an array element or a structure member that yields a short integer. For example:
## integer*2    indvar, indarr(5)
     var_1:indvar
     var_3:indarr(2)