9.3 THE SPECIAL "&" LP CHARACTER ________________________________
last character The ______________ of a context pattern normally determines the
<lp> or <scope>. This rule changes when one or two ampersands
("&") are included in the specification, a useful facility for the
user who wishes to use the full Editing Buffer without SCROLLing
before each command.
<lp> ____
When an ampersand is included as part of an <lp>, the character
preceding immediately _________ the ampersand is taken as the <lp>
character, no matter how long the context string is.
A useful application of this facility is changing the second
occurence of a character in a line, when both occurences are
preceded by identical contexts, but each is followed by a
different context. The desired character can be LP'ed by
specifying it followed by an ampersand and enough trailing
context to uniquely identify it.
Example _______:
b i/Note: &here is another/But/
[before]=> Note: here is one Note: here is another
[after]=> Note: here is one Note: But here is another
Example _______: "f&ather" LP's the "f," rather than the "r."
<scope> _______
When two ampersands are specified within a <scope>, the <scope>
is defined to be the string beginning with the letter before
the first ampersand and ending with the letter before the
second ampersand.
c/Note: h&ere is& another/but I like
[before]=> Note: here is one Note; here is another
[after]=> Note: here is one Note; but I like another
Example _______: "m&ast&her" produces "mast" as the <scope>.
Example _______: "ma&st&" produces "ast" as the <scope>.
Example _______: "ma&&st" produces "a" as the <scope>.
104 -- Section 5 Release 9.1 FRESS Resource Manual
9.4 SPECIFYING MULTIPLE COMMANDS ON ONE LINE ____________________________________________
More than one command can be put on a command line by
separating each with either:
1) The FRESS Command Separator (">"), or
2) The CMS Linend character (defaults to the pound sign ("#")
but can be changed using the "CMS TERMINAL LINEND <char>"
If a command is preceded by "<" or "(" certain Display Mode
characteristics will be overridden (see Section 2.3.1).
9.4.1 The FRESS Command Separator _________________________________
When the FRESS Command Separator is used, the entire command
the current Editing Buffer line uses ___________________________ for each edit, regardless of
the Editing Mode in effect (see SMODE). Thus the order of the
commands on the command line does not matter.
NOTES _____
Each command separated by the Command Separator will act only
already in the Editing Buffer on <scope>s or <lp>s _____________________________.
The ">" can be thought of as a carriage return character at the
end of a line which contains only a single command.
After a command line is processed, the top of the new Editing
Buffer is located at the point of the last edit, unless a
travel command follows the last editing command. In that case,
the top of the new Editing Buffer is at the point specified by
the last traveling command.
Some commands such as FULLPRINT, REVERT, and all the House
cannot Functions (see Section 6) ______ be followed on a command line
by any stacked commands.
A pair of ">" characters is required to represent a single
literal occurrence of ">" anywhere in Command Mode.
FRESS Resource Manual Release 9.1 FRESS RSection 5.4 -- 105
Previous Page Next Page