4 ms·
If 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.
by watergatorman 7y ago
If 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'.