Types of directives and syntax

All preprocessor and compiler directives begin with a period and must be the first non–white space element on a logical line.

Preprocessor directives

A preprocessor directive is an instruction for the preprocessor, which is executed before any code is compiled. They can precede or follow any logical line, and they apply to the rest of the source file until other compilation control directives are specified that change the instructions to the compiler. The preprocessor directives are

Compiler directives

Compiler directives instruct the Synergy compiler and are processed only when a program is compiled. They classify and delimit program structure and are position‑dependent within program source code. They are not included in the resulting executable program. The compiler directives are