The Get routine did not work right, fixed
This commit is contained in:
parent
ea21b16846
commit
1a259744af
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue