Compiler commands are unique parameters that enable additional functionality when compiling PSL source code. During compile-time, these commands are flagged and verified by the PSL compiler.
These commands (parameters) are preceded by a # symbol. The following commands cause the compiler to perform the specified action.
Command |
Description |
Suppresses warnings generated by the next line of PSL source code. | |
Breaks on the specified line within the compile or on a designated entry reference (i.e., label in a procedure which is called from within the procedure or from another procedure). | |
Inserts the lines of code listed between the #BYPASS and #ENDBYPASS commands directly into the compiled program, without parsing or interpreting them. | |
Evaluates the condition that follows the statement. This command is used in conjunction with the #IF and #ENDIF commands. | |
Identifies the end of a while loop or an if/else loop. | |
Identifies the end of a #BYPASS code block. | |
Identifies the end of an IF condition. This command is used in conjunction with the #IF and #ELSE commands. | |
Evaluates the condition that follows the statement. This command is used in conjunction with the #ELSE and #ENDIF commands. | |
Controls the groups of informational messages that is displayed by the compiler. | |
Recognizes short-lived type Record objects, and if possible, does not physically allocate or manage object storage. | |
Controls the recognition of PSL constructs and the generation of target code. | |
Checks for warnings such as variables that have not been scoped within a subroutine, or dead code). | |
Evaluates the condition that follows the statement. This command is used in conjunction with the #END command. | |
Executes the specified line of M code. It aids in compile time testing and debugging of PSL methods and compiler code. |