Re:The Programming Language Oberon (2016)
by watergatorman on Wednesday July 17, 2019 @03:40PM
(#20463214)
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.
[ Parent
| on HN ]
You can achieve that using pipes, see 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'.