mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-05 14:48:18 +02:00
18 lines
222 B
ObjectPascal
18 lines
222 B
ObjectPascal
program tw40563;
|
|
uses sysutils;
|
|
var s:string[20];
|
|
r:shortstring;
|
|
x: Char;
|
|
begin
|
|
r:='';
|
|
s:=inttostr(12345);
|
|
for x in s do begin
|
|
r:=r+x;
|
|
write(ord(x):4);
|
|
end;
|
|
writeln;
|
|
if r<>s then
|
|
Halt(1);
|
|
end.
|
|
|