You copied the Doc URL to your clipboard.

LISA+ preprocessor scopes

LISA+ source code has different preprocessor scopes.

LISA+ top-level
All LISA+ code that is not behavior, includes, or resources section code is LISA+ top-level code. This code consists only of LISA+ keywords and LISA+ constructs.
includes and resources
All of the code between but not including the outermost opening and the closing braces, of includes and resources sections.
behavior
All of the code between but not including the outermost opening and the closing braces, of behavior sections. All bodies of behavior definitions are behavior code. The code is C/C++ with LISA+ keyword extensions.

Each character of LISA+ source code belongs to one of these scopes.

These scopes affect macro expansion and impose restrictions on some preprocessor statements.

Was this page helpful? Yes No