Texas Instruments 990 Operation Manual page 124

Prototyping system
Hide thumbs Also See for 990:
Table of Contents

Advertisement

~,o
_ _ _ _ _ _ _ -
~
945255-9701
The command in the following examples meves four lines beginning with the pointer line to .
follow line 30:,
?M4,30
4.5.4.4 Remove (R). The Remove command removes a block of lines. The block is specified by
first and last' line numbers, or by a number of lines preceding or following the pointer. The
syntax for the R command is as follows:
{
<s>-<t> }
. R
{+][<n>]
-<n>
Line s through t are removed, or n lines with respect to the pointer are removed. When n is
preceded by a minus sign, n lines preceding the pointer line, but not the pointer line, are
removed. When n is unsigned or preceded by a plus sign, n lines-beginning with the pointer line
are removed. When no operand is entered, the pointer line is removed. When the pointer line is
removed, the pointer is moved to the top line of the buffer. The following example shows an R
command to remove line 12:
?R12-12
The command, in the following example removes the three lines precedbtg the pointer line:
?R-3
4.5.4.5 Find (F). The Find command scans a block of lines for a specified character string.
Optionally, the command may replace the string with' or without printing the resulting line, or
may print the line and permit the user to specify whether or not to substitute the string. In all
cases, the command prints the count of matching lines found. The block
is
specified by first and
last line numbers, or by a number of lines preceding or following the pointer. The syntax for the
F command is as follows:
'
I
<s>-<t>l'
ILl
~'[P]
I
F
~;n>.
IF <dl><Stringl><dl>
t
<d2>[<String2>]<d2>[V] [P]
Line s through line t are scanned, or n lines are scanned. When n is preceded by' a minus sign, n
lines preceding the pointer line, but not the pointer line, are scanned. When n is unsigned or
preceded by a plus sign, n lines beginning with the pointer line are scanned.
When an F is, entered foUowing the lines to be scanned, the columns specified in an SM
command are scanned. (Columns
I
through 72 are, the default for SM.) When an L is entered,
the command performs a label scan, beginning at the left limit and extending to the first space.
The character string used in the scan is designated string I , and is enclosed by identical
characters, each represented by dt. The character represented by dl maybe any character that
does not appear in stringl.
'
When no other parameter is entered, the commanQ scans the specified lines and prints the
number of lines in which a match of stringl was found. When P is entered' following dl,the
command prints each line in which a match of stringi was found, and also prints the number of
'lines following the last line found.
'
4-12
Digital Systems Division

Advertisement

Table of Contents
loading

Table of Contents