EDIT 3000 ADVANCED COMMANDS [ EDIT/3000:Reference Manual ] MPE/iX 5.0 Documentation
EDIT/3000:Reference Manual
Chapter 4 EDIT/3000 ADVANCED COMMANDS
In addition to the commands described in Section III, EDIT/3000 allows
you to use seven advanced commands, as follows:
BEGIN The BEGIN command is used as the first expression in a
BEGIN-END pair to delimit a compound command.
END Terminates a BEGIN-END pair.
NOT Reverses the normal control, or "flag" , within a
BEGIN-END pair for execution of the next command.
OR In a BEGIN-END pair, the OR command resets the flag to
true if it is false, or skips the OR command and the
following command if the flag is true.
PROCEDURE Calls a logical procedure written previously and stored
in a segmented library (SL) for execution by EDIT/3000.
WHILE Causes EDIT/3000 to repeat the next two expressions (or
one if a flag is declared) until the first expression
fails (the flag is set to false) or until the SET TIME
limit is exceeded.
YES Restores normal control within a BEGIN-END pair (resets
the flag to true).
When the advanced commands are used in a logical sequence with the basic
EDIT/3000 commands, they form command blocks with recursive properties.
In addition, logical procedures can be written in SPL/3000 (Systems
Programming Language for the HP 3000 Computer System) or FORTRAN/3000,
and these procedures can be called for execution with the PROCEDURE
command.
MPE/iX 5.0 Documentation