Introduction MTB Statements File System Compiler Applications Reference Guide Index

Language Structure Data Division I/O Format Division Procedure Division Mnemonics

System Symbolic Constants

FALSE

For every source program and usefile that is compiled, Comet sets the following values for the TRUE and FALSE system symbolic constants:

Symbolic constant Value
TRUE 1
FALSE 0

This is the equivalent of an MTB program using the following directives:

SET TRUE = 1
SET FALSE = 0
Note, however, that these SET directives are not required in an MTB program. Comet defines the TRUE and FALSE symbolic constants automatically.

If you have an existing source program (or usefile) that defines TRUE or FALSE as symbolic constants, you will need to take one of the following steps to avoid getting a compiler error (i.e., error 04 - "variable has been previously defined"):