Introduction

Language Structure

IB Statements

File System

Comet 32 Runtime

Index

TRUE

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 Internet Basic program using the following directives:

SET TRUE = 1
SET FALSE = 0
Note, however, that these SET directives are not required in an Internet Basic 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"):

See System Symbolic Constants.