(1 / 1)
Date: July 22, 1987 15:50
From: KIM::SHEPPERD
To: @sys$mail:engineer,SHEPPERD
A new feature exists in the TPU section file in UTL$EXE. This feature is a balance checker. To use it you position the cursor on an opening double quote, curly bracket, square bracket, angle bracket or double quote and type Gold control B. TPU will search (only forward at the moment) for a matching closing character and select all the text enclosed including the opening and closing characters leaving the cursor pointing to the character after the closing one. Nesting is allowed to any level except for double quotes which cannot be nested at all (it'll stop at the first occurance of a double quote after the opening one). It will display a message if the cursor is not on one of the opening characters '"{[(' or if there is no matching closing character. In either case, the cursor is not moved. If you want to know how it works or if you want to make your own version, you can look in KIM$USERDISK:[SHEPPERD.VAXTPU]GOLDB.TPU for the program. ds
Jul 22, 1987