lboasso / oberonc

An Oberon-07 compiler for the JVM

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

IN Module

dukester opened this issue · comments

Is there such a module to get user input. Very Important to have one!! Thx.

Hello, thanks for your interest in oberonc!
You are right, I forgot to implement the In module.
I just added an implementation, it differs from the original one found in the Oberon System. Please refer to the documentation in src/In.Mod
You can try out the example examples/GuessNumber.Mod using the new In module:

Linux
java -cp $OBERON_BIN oberonc . examples/GuessNumber.Mod
java -cp $OBERON_BIN:. GuessNumber

Windows
java -cp %OBERON_BIN% oberonc . examples/GuessNumber.Mod
java -cp %OBERON_BIN%;. GuessNumber

Let me know what you think.

The issue has been addressed, closing.