[Overview][Constants][Types][Procedures and functions][Variables][Index] Reference for unit 'LazFileUtils' (#lazutils)

SplitCmdLineParams

Splits command line parameters separated by whitespace characters

Declaration

Source position: lazfileutils.pas line 173

procedure SplitCmdLineParams(

  const Params: string;

  ParamList: TStrings;

  ReadBackslash: Boolean = False

);

Description

Parameters are separated by one or more whitespace characters (#9,#10,#13,#32). Quoted values are parsed as a single parameter. If ReadBackslash contains True, then \" is replaced with " and not treated as a quoted value. #0 (Decimal 0) is always treated as the end of the Parameters value.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.