PS TEXT EDIT Reference Manual
BALANCED-EXPRESSION
TEDIT Topics
058059 Tandem Computers Incorporated 2–7
And the contents of your file looks like this:
Begin
var := var + 1;
count := count - 3;
END
This matches the close
delimiter, but you do
not have a matching
open delimiter.
TEDIT recognizes this
as part of the text.
TEDIT would not recognize “Begin” as an open delimiter; you would
need to change it to all uppercase letters (BEGIN).
You can assign up to ten open and close delimiter pairs with the
RECONFIGURE OPTIONS command. You must specify both an open
and close set. For example:
Open: << Close: >>
Open: bscreen Close: escreen
When you use the same character for both open and close delimiters,
you might get inconsistent results because TEDIT can’t distinguish
between these characters. For example, if you use quotes as open and
close delimiters, the BACKWARD BAL or the FORWARD BAL
commands may not position the cursor where you expect.
As a text item, BALANCED-EXPRESSION can persist on the status line.
(See “Persistent” in this section.)