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:
-
beginning of the current line;
-
beginning of the current and a defined number of lines following;
-
end of the current line;
-
end of the current and a defined number of lines following.
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:
-
Enter a line number greater than the current line number. The comment is added to all lines from the current line to the line number entered, inclusive.
-
Press RETURN only. The comment string is only added to the current line.
-
Enter a zero or a number less than the current line number. This cancels the Comment command.
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.