Show pageOld revisionsBacklinksBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== Compiler ====== 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^ |[[the_semicolon_operator|; (semicolon)]]|Delimits a new line (allows multiple commands to appear on the same line).| |[[dollar_insert|$INSERT statement]]|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.| |[[comments|*, !, /*...*/]]|Designates that the following string is a comment, and not an executable part of the code.| |[[contract_blocks|Begin Condition \ Pre: \ Post: \ End Condition]]|Begins the [[contract_blocks|contract block]]. This block is ended with an End Condition statement, and before that, you must have at least Pre: and Post: statements.| |Compile statement|Begins a stored procedure declaration (optional). One of two types of stored procedure must be specified: Function, or Subroutine.| |[[declare|Declare statement]]|Causes the compiler to recognize calls to subroutines or user-defined functions.| |[[end|End statement]]|If not part of a multi-line statement (such as If ... Then), tells the compiler to stop compilation at that point.| |[[equate|Equate or Equ statement]]|Establishes equivalency between a constant and a value, or between a constant and an expression (example: Equate BEEP$ To Char(7)).| |[[function_statement|Function statement]]|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.| |[[subroutine|Subroutine statement]]|Directs the compiler to tag the object code of a procedure as being an external subroutine. An external subroutine does not return a value.| guides/programming/programmers_reference_manual/compiler.txt Last modified: 2024/06/19 20:20by 127.0.0.1