BITON

  

DEVELOPER

 

 

Purpose

BITON returns a True condition if the named flag is On.
 

Syntax

BITON(flagname)
 

Operation

flagname is a system-defined process control Value Variable or COMM bit
 

Remarks

PROIV provides 64 COMM bits, named &#@BIT0 to &#@BIT63, which are passed as a COMM variable.  These flags are available for use in passing conditions between functions.

BITOFF can use &#@BIT0 to &#@BIT63 as well as system flags.

Refer to the commands DISABLE and ENABLE for changing the value of bits.
 

Example

To see whether the European date format is in use:

IF BITON &#@EUROF THEN.....
 

Comment on this topic

Topic ID: 520024