next up previous contents index
Next: Pi Up: Functions and Procedures Previous: Paramcount

Paramstr

   

Declaration:

Function Paramstr (L : Longint) : String;

Description:

Paramstr returns the L-th command-line argument. L must be between 0 and Paramcount, these values included. The zeroth argument is the name with which the program was started.

Errors:

In all cases, the command-line will be truncated to a length of 255, even though the operating system may support bigger command-lines. If you want to access the complete command-line, you must use the argv pointer to access the real values of the command-line parameters.

See also:

Paramcount

For an example, see Paramcount.



root
Fri Sep 11 18:27:51 CEST 1998