mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-17 22:39:30 +02:00
36 lines
494 B
ObjectPascal
36 lines
494 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.
|
|
|