Language:
Русский
English
ParamStr (function)
Returns a specified command-line parameter.
Declaration
function ParamStr(Index): String;
Target
Windows, Real, Protected
Remarks
Index is an expression of type Word. ParamStr returns the Indexth parameter from the command line, or an empty string if Index is greater than ParamCount. ParamStr(0) returns the path and file name of the executing program (for example, C:\BP\MYPROG.EXE).