[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
'                        Comment

 ' [remark]

    Adds explanatory text to a program listing.

      remark    Commentary text, ignored by BASIC.

   -----------------------------------------------------------------------

      Notes:    BASIC does not execute comments, but a program may branch
                to a statement beginning with '.  Execution will then
                continue with the first executable statement thereafter.

                Any program statements following a comment, in the same
                logical line, are ignored by BASIC.

                ' can be used to add a comment at the end of an existing
                program statement (BASIC ignores everything following the
                ' character). Exception: ' cannot be used in this manner
                in a DATA statement (because BASIC would treat the ' as
                part of the DATA).

See Also: REM
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson