
B-63324EN-1/03 OPERATION 8.EDITING PROGRAMS
- 251 -
8.2 CURSOR
Editing operations such insertion, alteration, and deletion are
performed on the character string to which the cursor is positioned.
Basically, the cursor is displayed on a word such as a program number,
G code command, or address command. Custom macro commands are
not in form of words, in which case, the cursor is displayed differently.
This chapter explains the cursor and how to position it.
8.2.1 Cursor/Editing Units/Words
Cursor and editing units
The cursor refers to a pointer, displayed in yellow in reverse video on a
character string.
The character string to which the cursor is positioned is subject to an
editing operation, and is called an editing unit. Editing units are
separated by any of the following characters:
- Address
- First # on the left side of an assignment statement
- /, (, ;
-=
- First character of IF, WHILE, GOTO, END, DO, POPEN,
BPRNT, DPRNT, and PCLOS
Editing units separated by characters other than = will have a single
blank inserted at the beginning.
Editing units separated by = are connected to the preceding editing
units.
Words and editing units
A word is an editing unit that consists of an address and numeric value
(expression). Strictly speaking, "words" and "editing units" are
different. In Chapter II-8, "EDITING PROGRAMS" in this chapter, the
term word is used to mean editing unit.