Encyclopaedia Index

EDITOR

The SATELLITE is equipped with an editor of the "instruction stack". This stack is created when a Q1 or library file is LOADed in, and can be modified by subsequent keyboard entries, which, unless the EDITOR mode is used, are always added to the bottom, and so cannot influence earlier-interpreted instructions.

By contrast, "editing" the stack permits modification to the ORDER of the instructions. For example, typing NX=10 will change NX only; but NX=10 edited into the stack, above any other uses of NX but below the current setting of NX (on line 15, say), by use of:


i 15 RETURN
NX=20 (for example) RETURN
RETURN

will, once the stack is re-interpreted, cause all NX-dependencies to be modified.

Re-interpretation of the stack is activated by the command: LOAD(STACK).

The edit commands available are:-
LD =displays 15 lines of the stack from current line;
LC =displays 15 lines about current line;
LU =displays 15 lines above current line;
L n =moves to line n and displays it;
L n-m =moves to line m and displays n to m;
LT =moves to first line and displays it;
LB =moves to bottom line and displays it;
I n =inserts entry following after line n, the entry being terminated by the user entering RETURN twice;
R m-n =replaces lines m to n with entry following;
D m-n =deletes lines m to n.

The SATELLITE editor is primitive, in comparisons with those which are available on popular operating systems. For example, one cannot replace a single character in a line except by retyping the whole line. Its chief merits are:-


wbs