Statement codes are single-character statements. They are entered in the statement code column. Statement codes are not case-sensitive.
The summary below presents the statement codes by thematic group.
Statement codes used to position the work window
Statement code | Function |
+ / - | Position the work window (vertically) |
+ / - [F1] | Position the work window in accordance with the structure depth |
S | Position the work window interactively (horizontally and vertically) |
Statement codes used to copy and move records
Statement code | Function |
* | Delete the copy buffer |
C | Collect lines for copying |
R | Collect lines for multiple copying |
M | Collect lines for moving |
A | Copy/move after a line |
B | Copy/move before a line |
O | Copy/move on a line range (O = on) |
Statements codes for record processing
Statement code | Function |
D | Delete records |
J | Join two records |
L | Convert records into lowercase |
U | Convert records into uppercase |
X | Modify records |
H | Display/modify records in hexadecimal mode |
E | Insert characters |
1..9 | Insert data lines |
I | Activate the permanent insert function |
Statements codes used to handle record marks
Statement code | Function |
D [F3] | Delete a record mark |
1..9 [F3] | Set a record mark |
Other statement codes
Statement code | Function |
K | Copy a line to the statement line |
T | Syntax test by SDF |
A detailed description of the individual statement codes can be found in chapter “Statement codes in F mode (alphabetical)” ).
Syntactic and semantic checks
The first step before processing the entries in a work window is to check the syntax and semantics of the statement codes (see the section describing the processing sequence). If invalid statement codes or invalid combinations (e.g. M
followed by C
, see below) are found then the subsequent input processing steps are not performed. A '?'
is output in place of the invalid statement codes and the cursor moves to the first invalid statement code.
Permitted combinations of statement codes in a work window
A distinction is made between the following cases when processing the statement code depending on the function key used for data transfer and/or the entered statement codes.
If [F3] is used then EDT only accepts statement codes which can be sent using [F3] (statements for setting and deleting record marks). These can be combined in any desired way. If illegal statement codes are sent with [F3] then EDT considers these to be invalid, marks them with
'?'
and aborts the further processing of the input.If [F1] is used then EDT only accepts statement codes which can be sent using [F1] (
+
or - for positioning on the basis of the structure depth). Only one of these is permitted per work window. If illegal statement codes are sent with [F1] then EDT considers these to be invalid, marks them with'?'
and aborts the further processing of the input.If the statement codes are sent with [DUE] or a function key other than [F1] or [F2] then the table below indicates which statement codes may be combined within a work window. When reading the table, it should be borne in mind that a statement code indicated in a row in the table should be entered in the statement code column of the same work window above the statement code indicated in the table column. Statement codes can be combined (in this sequence) if there is no entry at the intersection between the two codes in the table. An
X
at the intersection means that they cannot be combined. Special cases are indicated by a lowercase letter and are annotated below.
+ | * | - | A | B | C | D | E | H | I | J | K | L | M | O | R | S | T | U | X | 1..9 | |
+ | X | X | X | a | |||||||||||||||||
* | X | b | b | b | |||||||||||||||||
- | X | X | X | X | X | X | a | X | X | ||||||||||||
A | b | ||||||||||||||||||||
B | b | ||||||||||||||||||||
C | X | X | |||||||||||||||||||
D | |||||||||||||||||||||
E | X | X | X | X | |||||||||||||||||
H | X | X | X | X | |||||||||||||||||
I | X | X | X | X | X | ||||||||||||||||
J | |||||||||||||||||||||
K | X | ||||||||||||||||||||
L | |||||||||||||||||||||
M | X | X | |||||||||||||||||||
O | b | ||||||||||||||||||||
R | X | X | |||||||||||||||||||
S | X | X | X | X | X | X | X | X | X | ||||||||||||
T | X | X | X | X | X | X | X | X | |||||||||||||
U | |||||||||||||||||||||
X | X | X | X | X | |||||||||||||||||
1..9 | X | X | X | X |
T
then+
or-
ignored.C
norM
norO
is specified at the same time as*
then the messageEDT5360
is issued informing the user that the copy buffer has been emptied and can no longer be copied.
Processing sequence during the processing of statement codes
If multiple statement codes that can be combined with one another are entered in a work window's statement code column then they are processed in the following sequence:
all
D
statement codesthe
*
statement code for deleting the copy bufferthe
K
statement codeall
C
,M
andR
statement codes for making entries in the copy bufferall
U
andL
statement codesall
J
statement codes for joining two recordsall
A
,B
,O
statement codes for copy and move operationsall
T
codes for testing SDF syntaxthe
+
and - statement codes for positioningthe
S
statement codeall the following statement codes:
X
(modify),H
(modify, hexadecimal),E
(insert characters),1..9
andI
(insert lines)
The statement codes X
, H
, E
and I as well as 1..9
are processed from top to bottom in a work window. The statement codes X
, H
and E
after I
or 1..9
may be lost if the lines can no longer be displayed on screen due to the insertion area. No warning is issued.
The statement line is evaluated after the statement codes have been processed (see section “Processing sequence”).