Difference between revisions of "Double Slash Comment"

From Lianjapedia
Jump to: navigation, search
Line 22: Line 22:
 
[[Category:Applications Commands]]
 
[[Category:Applications Commands]]
 
[[Category:Comments]]
 
[[Category:Comments]]
 +
[[Category:Lianja VFP Extensions]]
 +
[[Category:VFP Command Extensions]]

Revision as of 06:33, 10 December 2012

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 by the Lianja/4GL. 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