Input from devices, directories, and the terminal
- Last Updated: January 17, 2024
- 1 minute read
- OpenEdge
- Version 12.8
- Documentation
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 Input from files.
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 Reading the contents of a directory.
You can reset any input source to the terminal using the TERMINAL option
of the INPUT FROM statement. For
more information, see Receiving input from multiple sources.