如何在单个read()中输入由空格分隔的多个char和longint?

时间:2016-08-15 13:18:01

标签: pascal freepascal

我试过了,但它给了我运行时错误106.

select artnumber, max(modtime) as modtime
from ...
where ...
group by artnumber
order by artnumber;

输入

var
  a, c: char;
  b, d: longint;
begin
  read(a, b, c, d);
  write(a, ' ', b, ' ', c, ' ', d);
end.

0 个答案:

没有答案