Editors > Screen Editor Reference > Screen Editor Commands > C - Comments

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 ()

C - Comments (Screen Editor) (m618603+c.htm)

To

Reality

Version

Topic

Submitted by

Company

Location

Email address

Comment

 

 

C - Comments

Inserts a character string at the beginning or at the end of the current line, or the current and following lines.

Command

C

Action

The Comment command allows you to enter a character string at the:

When you press C in Edit Mode, the Status/Command Line prompts:

COMMENTS at (B)eginning or (E)nd of line?:

Type B to enter comments at the beginning of each line, or E to enter comments at the end of each line.

The Status/Command Line then prompts for the character string:

Comment string :

Enter the character or string. The Status/ Command Line then prompts for the number of lines:

Thru line# Ret=current, 0=Exit:

Your possible responses are:

Example

Partial contents of current screen. Note cursor position on line 124.

0123 START.PRINT:
0124   PRINT CLR
0125   PRINTER ON
0126   FLAG=1; CNT=1
0127   GOTO START
0128 NEXT.ROUTINE

Press C.

The Status/Command Line prompt and your input:

COMMENTS at (B)eginning or (E)nd of line?:B

The Status/Command Line prompt and your input:

Comment string :**TEMP**

The Status line prompt and input:

Thru line# Ret=current, 0=Exit:127

Screen now reads:

0123  START.PRINT:
0124 **TEMP**  PRINT CLR
0125 **TEMP**  PRINTER ON
0126 **TEMP**  FLAG=1; CNT=1
0127 **TEMP**  GOTO START
0128  NEXT.ROUTINE

Comment string is inserted at the beginning of the line from the current line to line 127.

RealityV15.0Comment on this topic