Page History
Compiler directives instruct the compiler to perform certain tasks while a procedure is being compiled into object code. Compiler commands are not used during the execution of the procedure.
Command | Description |
| |
| Delimits a new line (allows multiple commands to appear on the same line). |
| |
Inserts source code from another procedure into the current procedure at this point. The default location for the storage of BASIC+ source code is the SYSPROCS table. |
| ||
Designates that the following string is a comment, and not an executable part of the code. |
| ||
Begins the contract block. This block is ended with an End Condition statement, and before that, you must have at least Pre: and Post: statements. |
| ||
Begins a stored procedure declaration (optional). One of two types of stored procedure must be specified: Function, or Subroutine. |
| ||
Causes the compiler to recognize calls to subroutines or user-defined functions. |
| ||
If not part of a multi-line statement (such as If ... Then), tells the compiler to stop compilation at that point. |
| ||
Establishes equivalency between a constant and a value, or between a constant and an expression (example: Equate BEEP$ To Char(7)). |
| ||
Directs the compiler to tag the object code of a procedure as being a user-defined function. |
| ||
LineMark | Inserts a linemark character into the compiled code of code compiled without linemarks. |
| |
Directs the compiler to tag the object code of a procedure as being an external subroutine. An external subroutine does not return a value. |