/
Commenting CCS Code

Commenting CCS Code

To ensure your scripts are maintainable, we recommend the liberal use of comments. All comments in CCS scripts are denoted using the hashtag (#) symbol as the first character in a line. An example:

#---------------------------------------------------------------------------------

#     The $ifName value extracted by the first trigger will be used in this command.

#     Variables are globally scoped and referenced by any part of the script as needed.

#---------------------------------------------------------------------------------

Multi-line comments can contain any text and are treated as comments within /* and */ delimiters, as follows:

/*
This is a multi line comment. Use it to explain all of the glorious details of the script you just created.
*/

Related content