[Overview][Classes][Procedures and functions][Index] |
Separates values in the CommandLine argument into the Executable and Parameters properties.
Source position: utf8process.pp line 50
public procedure TProcessUTF8.ParseCmdLine( |
const CmdLine: string; |
ReadBackslash: Boolean = False |
); |
CmdLine |
|
Command line examined and parsed in the method. |
ReadBackslash |
|
When True, the BackSlash character is used to quote character values. |
ParseCmdLine is used to separate the values in the CmdLine argument into the values used for the Executable and Parameters properties.
ReadBackSlash indicates if the BackSlash character (\) is used to quote a character value in the command line. The default value for the argument is False.
ParseCmdLine creates an internal TStringList instance used to store values returned from the SplitCmdLineParams routine in lazfileutils.pas. The first value in the string list (when present) is stored in the Executable property. The remaining values are stored in the Parameters property.
ParseCmdLine is provided as a convenience method. The same result can be achieved by setting the values in the Executable and Parameters properties directly.
|
Splits command line parameters separated by whitespace characters into the specified TStrings instance. |
|
Version 3.2 | Generated 2024-02-25 | Home |