ReadString did not skip leading spaces
This commit is contained in:
parent
4ea59adb33
commit
2c84d1bc14
@ -308,6 +308,10 @@ IMPLEMENTATION MODULE InOut ;
|
||||
|
||||
BEGIN
|
||||
i := 0;
|
||||
REPEAT
|
||||
Read(ch);
|
||||
UNTIL (ch # ' ') AND (ch # TAB);
|
||||
UnRead(ch);
|
||||
LOOP
|
||||
Read(ch);
|
||||
termCH := ch;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user