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