Metastatements

The following functions control compiler and debugger behavior:

#ALIGN

Align the next instruction to a boundary.

%DEF

Determine if an equate has been previously defined.

#BLOAT

Artificially inflate the disk image size of a compiled program.

#COMPILE

Determine which type of file will be created by the compiler.

#COMPILER        

Define the compiler for this program.

#DEBUG CODE

Compiler directive to suppress generation of debugging code.

#DEBUG DISPLAY

Display a message when an untrapped run-time error occurs.

#DEBUG ERROR

Control generation of error checking code.

#DEBUG PRINT

Display information in the IDE's Debug Window.

#DIM

Specify if variables must be declared before use.

#EXPORT

Declare a Sub/Function to have the EXPORT attribute.

#IF

Define sections of source code to be compiled or ignored.

#INCLUDE

Instruct the compiler to read an additional source file from disk.

#LINK

Link a pre-compiled Static Link Library (SLL) into your host program.

#OPTIMIZE

Choose the optimization which should be applied to your program.

#OPTION

Establish various compiler options.

#PAGE

Sets a page boundary for the PowerBASIC IDE.

#REGISTER

Control automatic allocation of Register variables.

#RESOURCE

Embed a PowerBASIC Resource file into the executable file.

#STACK

Set the maximum potential stack size.

#TOOLS

Enable/disable integrated development tools in compiled code.

#UNIQUE

Specify whether unique variable names are required.

#UTILITY

Compiler directive to allow external utility programs to read text inserted on the #UTILITY line.