DataBasic Reference > Statements and Intrinsic Functions > R > REM Statement

Comment on this topic

Documentation Comments

Use this form to comment on this topic. You can also provide any general observations about the Online Documentation, or request that additional information be added in a future release.

Reality V15.0 ()

REM Statement (DataBasic) (m618703+rem_s.htm)

To

Reality

Version

Topic

Submitted by

Company

Location

Email address

Comment

 

 

REM Statement

Delineates comments placed in a program without affecting program execution.

Syntax

REM comment

* comment

! comment

Syntax Elements

comment The text of the comment.

Operation

To place a comment in a program, type the letters REM, an asterisk (*), or an exclamation point (!) at the beginning of the statement, followed by the text of your comment.

If a comment does not fit on one line, you must use two REM statements.

Notes:

Examples

REM These DataBasic statements 
REM do not affect program execution.

In this case, two REM statements were necessary to complete the comment.

IF Y < 2 GO 10 ; ! Transfers control back to start

Clarifies the operation.

  GOSUB 30
.
.
30 * SUBROUTINE TO PRINT RESULTS
PRINTER ON
PRINT ...

Identifies the subroutine at statement label 30.

RealityV15.0Comment on this topic