October 1, 1979 HOUSE FUNCTIONS EXECUTE


&E


&E Execute _______________
&EXEC executes a sequence of FRESS commands contained in the
specified MEMO file.


&Exec <file>


NOTES _____
The FRESS Command Macro facility (see Section 7) is a cleaner,
more powerful extension of &EXEC and for most purposes, should
be used instead.
The sequence of commands is taken from the CMS file "<file>
MEMO A".
The format of the lines in the MEMO file is similar to the
format of command lines typed individually into FRESS. Only
one command or Command Macro should appear on each input line,
unless the FRESS Command Separator (">") is placed between
commands on the same line (see Section 5.4).
A blank line is used to pass from Input Mode to Command Mode
while using &EXEC.
including &EXEC Any FRESS command, House Function (_______________), or Command
Macro may be included in a MEMO file processed by &EXEC.
WARNINGS ________
Errors will be handled as usual, but no user intervention is
allowed (to correct errors) until all commands in the file have
been executed. Therefore, the user should exercise great
caution when creating the MEMO file.
MESSAGES ________
ERROR READING (INPUT TERMINATED); FRESS READY
260 -- Section 6 Release 9.1 FRESS Resource Manual
October 1, 1979 HOUSE FUNCTIONS REPEAT LAST COMMAND LINE


&G


&G Repeat Last Command Line ________________________________
line &GIN repeats the entire last command ____ which was not "&GIN,"
the specified number of times.


&Gin <n>°
1 _


<n>...the number of times to repeat
NOTES _____
&GIN is useful for repeating an operation which could not have
been carried out using USUBSTITUTE. It is especially handy for
repeating multi-command lines.
If an error is encountered during the iteration, execution of
the command halts immediately.
See Section 5.4 for a thorough discussion of multi-command
lines and Section 2.3.1 on how to temporarily override the
current Display or Editing Mode.
RESTRICTIONS ____________
Some commands cannot be repeated by &GIN (e.g., FULLPRINT,
REVERT, USUBSTITUTE).
FRESS Resource Manual Release 9.1 FRESS RSection 6.2 -- 261
Previous Page Next Page