Difference between revisions of "Double Slash Comment"

From Recital Documentation Wiki
Jump to: navigation, search
Line 30: Line 30:
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Commands|//]]
 
[[Category:Commands|//]]
 +
[[Category:Applications]]
 +
[[Category:Applications Commands]]

Revision as of 12:00, 4 June 2009

Class

Applications


Purpose

Comment line


Syntax

// <expC>


See Also

*, &&, /*...*/, NOTE


Description

The // command allows comment lines to be inserted in programs to enhance their readability and maintainability. Like the && command, the // command allows all characters following it on a line, to be treated as a comment and to be ignored by the Recital/4GL. The // command differs from the NOTE command, and the * command, in that it can be placed anywhere on a line, even following an executable command.


Example

// open the table
use patrons index names  // view in name order


Products

Recital Database Server, Recital Mirage Server, Recital Terminal Developer