next previous up contents index
Next: EXPAND Previous: END Up: The Commands in Detail


EXEC
EX

The command EXEC requires that a workfile called EXEC exists. This workfile must contain exaEdit commands only.

If the command EXEC is called, the exaEdit commands from the workfile EXEC are executed in the workfile where the command EXEC was called.

If the workfile EXEC does not exist, you receive the message

After the command EXEC nothing else may appear in a command line.

The command lines in the file EXEC may not exceed the window width of the workfile where the command EXEC is given. If you do not comply to this restriction, you receive the message

For n, exaEdit will substitute the line number, and the dots will be replaced with the current window width.

For example, you can use EXEC to save frequently needed allocations of F keys as exaEdit commands (compare PFK) together in a file. When there is need for these allocations you can load them in a workfile called EXEC and bring them into effect in all workfiles of your exaEdit session. This procedure is an alternative to the application of the exaEdit profile.

With EXEC all commands are executed as usual, with one exception: The command FILE does not have the usual safety queries like

etc. Thus, special care should be taken when using FILE within EXEC.
next previous up contents index
Next: EXPAND Previous: END Up: The Commands in Detail