Freigeben über


Comments

Each language has its own format for adding comments to programs. Visual FoxPro, C, and C++ have different formats for whole line comments and comments on partial lines.

Visual FoxPro BASIC
* full line
USE  && end of line
NOTE multiline ;
   comment
' comment
Pascal C/C++
{ comment }
// comment
/* multiline
 comment */

See Also

Assignment Statements | Case Sensitivity | CASE Statements | FOR Loops | IF Statements | Parameter Passing by Reference | Parameter Passing by Value | Variable Declaration | WHILE Loops