BIT


BIT [{SHARED|UNSHARED}] variable_list

Where

variable_list is any number of valid STL variable names not previously declared, separated by commas.

Function

The BIT statement explicitly declares one or more BIT variables, which can be specified as SHARED or UNSHARED. The default class is UNSHARED.

Examples

                    /* Declares the unshared bit variables,              */
                    /* "found_it" and "data_received".                   */
bit unshared found_it, data_received

bit myflag          /* Declares the unshared bit variable, "myflag".     */
bit shared netflag  /* Declares the shared bit variable, "netflag".      */

Note

The BIT statement is a declarative statement. You can code it only outside an STL procedure.