System.CmdLine

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

CmdLine: PChar platform;  { Command line pointer }

C++

extern DELPHI_PACKAGE WideChar *CmdLine;

Properties

Type Visibility Source Unit Parent
variable public
System.pas
System.hpp
System System

Description

Points to the command-line arguments specified when the application is invoked.

Note: The CmdLine variable points to a null-terminated string that contains the command-line arguments specified when the application was started. Use ParamStr to access individual arguments. In a library (DLL), CmdLine is nil (Object Pascal) or NULL (C++).

See Also