Using the compiler of .oberon files raises error when dealing with REAL values. This doesn't happen within the testing process, only when the compiler is used separately (with the command "run -c...").
This can be seen with the DECTest.oberon file, which passes in the test but gives an error when is compiled alone.
Content of DECTest.oberon:
MODULE DECTest;
VAR
x : INTEGER;
y : REAL;
BEGIN
x := 9;
y := -8.0;
DEC(x);
DEC(y)
END
END DECTest.
Using the compiler of .oberon files raises error when dealing with REAL values. This doesn't happen within the testing process, only when the compiler is used separately (with the command "run -c..."). This can be seen with the
DECTest.oberon
file, which passes in the test but gives an error when is compiled alone. Content ofDECTest.oberon
:Error message:
expression not found