Docs » Autodocs » dos.library » SelectOutput
SelectOutput -- Select a filehandle as the default output channel (V36)
old_fh = SelectOutput(fh) D0 D1 BPTR SelectOutput(BPTR)
Set the current output as the default output for the process. This changes the value returned by Output(). old_fh should be closed or saved as needed.
fh - Newly desired output handle
old_fh - Previous current output
Output(), SelectInput(), Input()
|