| Introduction | MTB Statements | File System | Compiler | Applications | Reference Guide | Index |
| Language Structure | Data Division | I/O Format Division | Procedure Division | Mnemonics |
| 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 = 0Note, 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"):
UNSET TRUE UNSET FALSE