mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-12 01:30:28 +02:00
19 lines
196 B
ObjectPascal
19 lines
196 B
ObjectPascal
|
|
type oo2 = pchar;
|
|
|
|
var a: oo2;
|
|
|
|
function len(a:pchar):longint;
|
|
begin
|
|
len:=-1;
|
|
end;
|
|
|
|
begin
|
|
a:='0123456789';
|
|
if length(a)<>10 then
|
|
begin
|
|
writeln('Error!');
|
|
halt(1);
|
|
end;
|
|
end.
|