News for hackers. Stuff that matters.
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.
Re:The Programming Language Oberon (2016) by augustk on Tuesday July 30, 2019 @04:23PM (#20568733)
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'.
Re:The Programming Language Oberon (2016) by watergatorman on Wednesday July 17, 2019 @03:58PM (#20463358)
You possibly can use command-line redirection but whether OBNC can read directly from console output, I am not sure.