Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

&& Command

Visual Studio .NET 2003

Indicates the beginning of a nonexecuting inline comment in a program file.

&& [Comments]

Parameters

Comments
Indicates that inline comments follow. For example:
STORE (20*12) TO gnPayments  && 20 years of monthly payments

Inserting inline comments to denote the end of the IF ... ENDIF, DO, and FOR ... ENDFOR structured programming commands greatly improves the readability of programs.

Remarks

Place a semicolon (;) at the end of each comment line that continues to a following line. You cannot place && and a comment after the semicolon used to continue a command line to an additional line.

Example

NOTE  Initialize the page number;
   variable.
STORE 1 to gnPageNum
* Set up the loop
DO WHILE gnPageNum <= 25  && loop 25 times
   gnPageNum = gnPageNum + 1
ENDDO  && DO WHILE gnPageNum <= 25

See Also

* Command | MODIFY COMMAND Command | MODIFY FILE Command | NOTE Command | & Command

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.