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