I am old pascal programmer, but now i teaching pascal and need to understand the old input
program readtest;
var
x:integer;
y:integer;
s:string;
begin
read(x, y, s);
writeln();
writeln(x,y,'"',s,'"');
readln;
end.
-------------
10 50 Hellohow to use read() procedure to read multiple variable one of them is string type
in example above it read x, y correclty, but variable s take a first space before the text.
How i can manage to read the string after integer with simple read?.
Zaher Dirkey
