The Get routine did not work right, fixed

This commit is contained in:
ceriel 1988-03-08 11:28:00 +00:00
parent ea21b16846
commit 1a259744af

View file

@ -126,6 +126,7 @@ IMPLEMENTATION MODULE PascalIO;
IF type # Preading THEN Error(Preading); END;
IF NOT done THEN
Get(InputText);
done := TRUE;
END;
RETURN ch;
END;
@ -145,7 +146,6 @@ IMPLEMENTATION MODULE PascalIO;
ELSE
Read(stream, ch, result);
END;
done := TRUE;
END;
END Get;