Difference between revisions of "Comment Block"

From Lianjapedia
Jump to: navigation, search
m (Text replace - "Recital" to "Lianja")
 
(One intermediate revision by one other user not shown)
Line 12: Line 12:
  
 
==Description==
 
==Description==
The /*...*/ command allows comment blocks to be inserted in programs to enhance their readability and maintainability.  The /* denotes the start of the comment block, the */ the end of the comment block. All characters between the two comment block delimiters are treated as comments and ignored by the Lianja/4GL.  The /*...*/ command differs from the // command, and the && command, in that it can deal with multi-line comments.
+
The /*...*/ command allows comment blocks to be inserted in programs to enhance their readability and maintainability.  The /* denotes the start of the comment block, the */ the end of the comment block. All characters between the two comment block delimiters are treated as comments and ignored.  The /*...*/ command differs from the // command, and the && command, in that it can deal with multi-line comments.
  
  
Line 25: Line 25:
 
[[Category:Documentation|/*...*/]]
 
[[Category:Documentation|/*...*/]]
 
[[Category:Commands|/*...*/]]
 
[[Category:Commands|/*...*/]]
 +
[[Category:Comments]]

Latest revision as of 13:28, 19 December 2012

Purpose

Comment block


Syntax

/* <statements> */


See Also

&&, *, //


Description

The /*...*/ command allows comment blocks to be inserted in programs to enhance their readability and maintainability. The /* denotes the start of the comment block, the */ the end of the comment block. All characters between the two comment block delimiters are treated as comments and ignored. The /*...*/ command differs from the // command, and the && command, in that it can deal with multi-line comments.


Example

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