Place a single-line comment in a program file

     NOTE [<commentText>]


     <commentText> is a string of characters placed after the comment


     NOTE is command synonym for the single-line comment indicator (*).  All
     characters after NOTE are ignored until the Clipper compiler
     encounters an end of line (carriage return/line feed).  This means a
     single-line comment cannot be continued with the semicolon (;) onto a
     new line.

     If you need a multi-line or inline comment, begin the comment block with
     a slash-asterisk (/*) symbol and end the comment block with an
     asterisk-slash (*/) symbol.  If you need to comment out a block of code,
     use the conditional compilation directives #ifdef...#endif instead of
     multiline comments.  This is important since nested comments are

     NOTE is a compatibility command and therefore not recommended.  It is
     superseded by the C-style comment symbols slash-asterisk (/*) and
     asterisk-slash (*/), as well as the double-slash (//).  It is also
     superseded by the dBASE-style comment symbols, asterisk (*) and the
     double-ampersand (&&).

     For a complete discussion on comment indicators, refer to the "Basic
     Concepts" chapter in the Programming and Utilities Guide.


     .  These examples show the various comment symbols supported by

        // This is a comment
        /* This is a comment */
        * This is a comment
        && This is a comment
        NOTE This is a comment


Try these new 5.01 language constructs

Try these new 5.01 language constructs

Language Terms

Branching :

Changing the sequence of execution in a program. Execution normally proceeds in sequence from the top of a function or procedure to the bottom. When control is transferred to a statement that is not in sequence, execution is said to have branched.

Comment :

Text in a source program that is ignored by the compiler. Usually used to make descriptive comments about the surrounding source code.

Control Structure :

Any program structure that alters the flow of program control. In Clipper language, these include:


Keyword :

A word that has a special meaning to a compiler or other utility program. Commands, directives, or options are often recognized by examining supplied text to see if it contains keywords.

Metasymbol :

Descriptive symbols used in syntax to represent information that must be supplied as part of a source code statement. A metasymbol is constructed using two information components: a data type prefix and a logical descriptor.

Sequence :

In Clipper language, a series of statements enclosed in a BEGIN SEQUENCE control structure.

See Also: Algorithm, Iteration, Selection

Statement :

In Clipper language, the basic unit of source code. A statement is normally a single line of text. Multiple statements can be placed on the same line by separating them with semicolons. A statement may be continued to another line by placing a semicolon at the end of the line to be continued. If the text of a statement matches a command definition (defined with a preprocessor directive), it is translated into the form specified by the command definition.

See Also : Command

Syntax :

The rules that dictate the form of statements or commands as defined by the implementors of the language. Also, a complete description of the forms that a statement or command can take.