mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-11 04:38:02 +02:00
35 lines
493 B
ObjectPascal
35 lines
493 B
ObjectPascal
{ Old file: tbs0017.pp }
|
|
{ }
|
|
|
|
const
|
|
nextoptpass : longint = 0;
|
|
procedure init;
|
|
|
|
const
|
|
endofparas : boolean = false;
|
|
|
|
procedure getparastring;
|
|
|
|
procedure nextopt;
|
|
|
|
begin
|
|
endofparas:=true;
|
|
getparastring;
|
|
inc(nextoptpass);
|
|
init;
|
|
end;
|
|
|
|
begin
|
|
if not endofparas then
|
|
nextopt;
|
|
end;
|
|
|
|
begin
|
|
getparastring;
|
|
end;
|
|
|
|
begin
|
|
init;
|
|
if nextoptpass<>1 then Halt(1);
|
|
end.
|