tb@qucis.UUCP (Tom Bradshaw) (11/17/83)
Does anyone know of a fix for the following bug in the pascal interpreter ( 4.1bsd ). The following program program test(output); type xxx = -128..127; var i: xxx; begin for i := -3 to 1 do writeln(i); writeln('okay'); end. executed by the pascal interpreter gives the following output .... -3 -2 -1 Value of -256 is out of range Error in "test"+1 near line 5. 7 statements executed in 0.02 seconds cpu time. This problem goes away if the runtime tests of subrange variables are suppressed but it would be nice if there was a better solution.