Comments
- Updated2025-10-31
- 2 minute(s) read
Comments are created in PAscript using the following notations:
- As block comments in the form /* Comment text */
- As a one-line comment until the end of the line in the form // Comment text
Use comments to document the program code. You can also use comments to provide user-defined help through IntelliSense. This functionality is available for variables, functions, and libraries.
Variables
The comment beside a variable declaration appears as a tooltip when you hover over the variable name in the IntelliSense selection list.
Functions
Enter a comment in the lines above a function declaration. This comment appears as a tooltip when you hover over the function name in the IntelliSense selection list.
Libraries
Enter a comment in the lines above a library section. This comment appears as a tooltip when you hover over the library name in the IntelliSense selection list. The comment is also visible in the Library Manager as a description of the library.