Hacker News new | ask | show | jobs
by watergatorman 2535 days 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.
1 comments

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'.