[Overview][Constants][Types][Procedures and functions][Variables][Index] |
Generates a string with the specified list of parameters.
Source position: lazfileutils.pas line 180
function MergeCmdLineParams( |
ParamList: TStrings |
):string; |
ParamList |
|
TStrings instance with the parameter values handled in the function. |
String representation for the list of parameters.
MergeCmdLineParams is a String function used to convert parameter values in the ParamList argument to a normalized string using the quoting needed for the parameter values.
MergeCmdLineParams iterates over the string values in ParamList, and calls StrToCmdLineParam to normalize the whitespace and quoting in each value. The sanitized parameters values are concatenated together, using the Space (' ') as the delimiter between the parameter values, and used as the return value for the function.
No actions are performed in the routine when ParamList is unassigned (Nil) or its Count property is 0 (zero).
|
Ensures that whitespace and quoting in the specified string are valid for use in command line parameters. |
Version 3.2 | Generated 2024-02-25 | Home |