Difference between revisions of "&&"

From Lianjapedia
Jump to: navigation, search
 
(4 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
==Purpose==
 
==Purpose==
 
Add comments to a program to improve its readability and maintainability
 
Add comments to a program to improve its readability and maintainability
 
  
 
==Syntax==
 
==Syntax==
 
&& <expC>
 
&& <expC>
 
  
 
==See Also==
 
==See Also==
 
[[*]], [[Double Slash Comment|//]], [[Comment Block|/*...*/]]
 
[[*]], [[Double Slash Comment|//]], [[Comment Block|/*...*/]]
 
  
 
==Description==
 
==Description==
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 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 24: Line 20:
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Commands]]
 
[[Category:Commands]]
 +
[[Category:Comments]]

Latest revision as of 22:57, 9 December 2012

Purpose

Add comments to a program to improve its readability and maintainability

Syntax

&& <expC>

See Also

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

Description

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