Comments explain CCL statements and other Sybase CEP Engine components.
CCL statements and other Sybase CEP Engine components can be associated with explanatory comments. These comments do not affect the execution of a statement. Sybase supports two distinct types of comments: regular comments and documentation tags.
Regular comments:
Can be inserted before or after any CCL clause or statement.
Appear in the form of text demarcated with special characters, using any of the three methods shown in the following table:
Begin Comment with |
End Comment with |
Example |
|
---|---|---|---|
Method 1: |
Two hyphens (--) |
New line |
-- This is a comment line. |
Method 2: |
Two slashes (//) |
New line |
// This is a comment line. |
Method 3: |
A slash and asterisk (/*) |
An asterisk and slash (*/) |
/* This type of comment can be contained on one line, or can extend across multiple lines. */ |
Cannot be nested.
Documentation tags can be inserted into a CCL module and appear as text or labels within Sybase CEP Studio. For more information about documentation tags, see CCL Documentation Tags.