9. EDITING PROGRAMS
Unlike ordinary programs, custom macro programs are modified,
inserted, or deleted based on editing units.
Custom macro words can be entered in abbreviated form.
Comments can be entered in a program.
Refer to the III–10.1 for the comments of a program.
When editing a custom macro already entered, the user can move the
cursor to each editing unit that starts with any of the following characters
(b) # located at the start of the left side of a substitution statement
(c) /, (,=, and ;
(d) First character of IF, WHILE, GOTO, END, DO, POPEN, BPRNT,
DPRNT and PCLOS
On the CRT screen, a blank is placed before each of the above characters
(Example) Head positions where the cursor is placed
001 X–#100 ;
#1 =123 ;
N002 /2 X[12/#3] ;
N003 X–SQRT[#3/3:[#4+1]] ;
N004 X–#2 Z#1 ;
N005 #5 =1+2–#10 ;
IF[#1NE0] GOTO10 ;
WHILE[#2LE5] DO1 ;
#[200+#2] =#2:10 ;
#2 =#2+1 ;
When a custom macro word is altered or inserted, the first two characters
or more can replace the entire word.
WHILE → WH GOTO → GO XOR → XO AND → AN
SIN → SI COS → CO TAN → TA ATAN → AT
SQRT → SQ ABS → AB BCD → BC BIN → BI
FIX → FI FUP → FU ROUND → RO END → EN
POPEN → PO BPRNT → BP DPRNT → DP PCLOS→PC
(Example) Keying in
WH [AB [#2 ] LE RO [#3 ] ]
has the same effect as
WHILE [ABS [#2 ] LE ROUND [#3 ] ]
The program is also displayed in this way.
D Editing unit
D Abbreviations of custom