3 ms·
The Programming Language Oberon (2016)
- watergatorman 7y agoIf I use module Out to write to STDOUT, is there a way for OBNC Oberon to Read the contents in that console window, so it can be treated as input.
- augustk 7y agoYou can achieve that using pipes, see https://stackoverflow.com/questions/17071702/c-language-read-from-stdout https://stackoverflow.com/questions/17071702/c-language-read.... With OBNC you can easily implement an Oberon module in C which interfaces to the POSIX function `pipe'.
- watergatorman 7y agoYou possibly can use command-line redirection but whether OBNC can read directly from console output, I am not sure.