6. Embedded QUEL for BASIC : BASIC 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 record member that yields a 2-byte integer (the word subtype). For example:
declare word ind_var, ind_arr(5)
var_1:ind_var
var_2:ind_arr(2)