Text which is ignored and used for documentation purposes.
Syntax
// { comment }
/* { comment } */
Notes
comment
|
any text
|
//
|
is used for single line comments.
|
/* */
|
is used for comments which can span multiple lines and for comments which can be embedded within a statement.
|
Example
/*
open, process and close file specified in ofile
ofile the file to open
*/
// open file
of = open( ofile )
// process file
of.process( )
// close file
of.close( )
|