When a user program is run under CodeWatch, there are three ways to specify that input and/or output be directed to/from another
file.
- The command options -usrin and -usrout. Each of these takes a filename operand.
- The ">" (output) and the "<" (input) parameters for the RELOAD command. See
Reload for more information. Both of these parameters also take a filename operand.
When either the input or output is redirected, CodeWatch attempts to open the specified file(s) in the appropriate mode. If
the open fails, CodeWatch prints an error message and exits.
Note: When the program normally continues to completion (for example, by using the Continue or Step command) and is automatically
reloaded by CodeWatch, output redirection is preserved in append mode, while using an explicit Reload resets output redirection
to the terminal.