ex46.pp 251 B

1234567891011
  1. Program Example46;
  2. { Program to demonstrate the ParamCount and ParamStr functions. }
  3. Var
  4. I : Longint;
  5. begin
  6. Writeln (paramstr(0),' : Got ',ParamCount,' command-line parameters: ');
  7. For i:=1 to ParamCount do
  8. Writeln (ParamStr (i));
  9. end.