Progress
Programming
Handbook
Input from Devices, Directories, and the Terminal
Some operating systems (like UNIX) let you receive input from devices other than terminals and disk files and let you use a name (like a filename) to reference them. You redirect input from these devices exactly like files. For more information, see the "Input From Files" section.
You can read the contents of a directory using the OS–DIR option of the INPUT FROM statement. For more information on reading the contents of a directory, see the "Reading the Contents of a Directory" section.
You can reset any input source to the terminal using the TERMINAL option of the INPUT FROM statement. For more information, see the "Receiving Input from Multiple Sources" section.
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |