2. Embedded QUEL for C : C 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:
## short   ind_var, *ind_ptr, ind_arr[5];
      var_1:ind_var
      var_2:*ind_ptr
      var_3:ind_arr[2]