nlinn' Type II Commands
'nnnnn
Line callout by item number is possible as a Type II command. This number
must be the current item number of the desired line in the working copy of 'the file. This must be a positive decimal integer not greater than the total
items in the file. . 38
Type III Commands
Type III commands are the basis for "in-line" editing functions, .i.e., functions
pertaining to an individual line within a given logical display. l)pe III com­
mands do not necessarily reference or alter the "current line" pointer. Each
data-display area within a given logical display may contain a Type III com­
mand area in the last 8 positions (unless deleted by the Type I command: FORMAT). Type III commands are "overlayed" on the Type III command
areas. The initial contents of each Type III area depends on the contents of
the corresponding data-display area as well as user option settings and may be
one of the following:
1. the characters "I = = = I" or "* = = = *" as illustrated in figure 2, lines 3
and 4, respectively; either of these indicators will appear in the Type III
command areas for data-display areas containing file data when NUMBERS have been set OFF (See the Type II command: SET). Since SET NUMBERS OFF is the default setting, these constants will always appear unless SET NUMBERS ON has been issued. ". = = = *" is provided for all such data­
display areas except those containing the "current line", for which the
constant "I = = = I" is used.
2. the characters "/nnnnn" or "*nnnnn" (where "nnnnn" is the line number
of the corresponding item within the file. This format is used only when
the user has specified SET NUMBERS ON. Although this facility is conven­
ient when item number referencing is utilized, substantial overhead may
be incurred in large files when calculation of the line numbers is required. "*nnnnn" is used for all Type III command areas unless the corresponding
data-display area contains the" current in which case" I nnnnn" is
used.
3. the characters "*INPUT" - indicating that the corresponding data-display
area is for "input" and has not yet been incorporated in the file. These
constants will appear when a display has been created via the INPUT or INSERT commands.
4. the characters "*TOF*" or "*EOF*" - used when the data-display area represents the imaginary lines at "top-of-file" and "end-of-file", respectively. Type III commands may not be entered on
these lines and changes to these Type III areas will be ignored.
Type III commands are single character commands which mayor may not
have preceding arguments. If the command is of the type which may have a
parameter, the parameter must begin in the first position of the command area
and must be immediately followed by the command character. No errors are
indicated for Type III commands. The user must verify that the command has
been successfully executed and re-issue the command, correctly, if not.
Since Type III commands do not produce error messages, no warning of this
situation is provided to the user.
Type III Commands 39
Previous Page Next Page