Comments provide a means of describing or documenting a model.
// a single line with comments
/* multiple lines
containing comments */
Comments can be used for describing models. There are two ways of using comments: in a single line or in multiple lines. It is illegal to use '/*' characters without matching '*/' characters. The multiple line comments cannot be nested.
Example 1
// this is the first line of a single line comment
// this is the second line of a single line comment
Example of a single line comment.
Example 2
/* this is the first line of a multiple line comment
this is the second line of a multiple line comment
*/
Example of a multiple line comment.
Using the '/*' characters without the matching '*/' characters is not allowed
The multiple line comments cannot be nested
Powered by IXwebhosting |