Difference between revisions of "Double Slash Comment"

From Recital Documentation Wiki
Jump to: navigation, search
Line 1: Line 1:
=//=
 
 
 
 
==Class==
 
==Class==
 
Applications
 
Applications

Revision as of 14:56, 24 March 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