Node:ParamStr, Next:, Previous:ParamCount, Up:Reference



ParamStr

(Under construction.)

Synopsis


function ParamStr (ParmNumber: Integer): String;

Description

Note: If you are using the Dos (DJGPP) or MS-Windows (mingw32) version of GPC and are getting unexpected results from ParamStr, please see the section "Command-line Arguments Handling in DJGPP" of the DJGPP FAQ list.

Conforming to

ParamStr is a Borland Pascal extension.

Example


program ParamStrDemo;

var
  i: Integer;

begin
  WriteLn ('You have invoked this program with ',
           ParamCount, ' arguments.');
  WriteLn ('These are:');
  for i := 1 to ParamCount do
    WriteLn (ParamStr (i))
end.

See also