Difference between revisions of "Double Slash Comment"

From Lianjapedia
Jump to: navigation, search
m (1 revision)
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
==Purpose==
 
==Purpose==
 
Comment line
 
Comment line
 
  
 
==Syntax==
 
==Syntax==
 
// <expC>  
 
// <expC>  
 
  
 
==See Also==
 
==See Also==
[[*]], [[&&]], [[Comment Block|/*...*/]], [[NOTE]]
+
[[*]], [[&&]], [[Comment Block|/*...*/]]
 
+
  
 
==Description==
 
==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.
+
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.  The // command differs from the * command, in that it can be placed anywhere on a line, even following an executable command.
 
+
  
 
==Example==
 
==Example==
Line 21: Line 17:
 
</code>
 
</code>
  
 
==Products==
 
Recital Server, Recital
 
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Commands|//]]
 
[[Category:Commands|//]]
[[Category:Applications]]
+
[[Category:Comments]]
[[Category:Applications Commands]]
+
[[Category:Lianja VFP Extensions]]
 +
[[Category:VFP Command Extensions]]

Latest revision as of 10:58, 4 February 2013

Purpose

Comment line

Syntax

// <expC>

See Also

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

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. The // command differs from 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