forlang.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
$DEBUG and $NODEBUG
                                             Up Contents Index Back
─────$DEBUG and $NODEBUG ───────────────────────────────────────────────────
 
     Action
 
     $DEBUG directs the compiler to perform additional testing and
     expanded error handling, and can also be used for conditional
     compilation; $NODEBUG suppresses the additional testing and
     expanded error handling.
 
     Syntax  $[NO]DEBUG[:string]
 
     Remarks
 
     The default is $NODEBUG.
 
     This metacommand should be placed in each source file to be
     compiled.
 
     If the optional <string> is specified, the characters in <string>
     specify that lines with those characters in column 1 are to be
     compiled into the program. The letter C always indicates a comment
     line. If <string> contains a C, the C is ignored.
 
     Example
 
     C     If the $FREEFORM metacommand has been specified,
     C     the next line produces an error message.
     $DEBUG:'ABCD'
     A     I = 1
     E     I = 2
     B     I = I + I
     F     I = I * I
     C     This is always a comment. I equals 2,
     C     because only statements A and B are executed.
 
     $DEBUG and $NODEBUG are equivalent to the /4{ Y | N }b compiler
     option.
                                    -♦-