[Overview][Constants][Types][Classes][Procedures and functions][Variables] |
Check whether a certain switch is present on the command-line.
Source position: line 0
function FindCmdLineSwitch( |
const Switch: String; |
const Chars: TSysCharSet; |
IgnoreCase: Boolean |
):Boolean; |
const Switch: String; |
IgnoreCase: Boolean |
):Boolean; |
const Switch: String |
):Boolean; |
FindCmdLineSwitchwill check all command-line arguments for the presence of the option Switch. It will return Trueif it was found, Falseotherwise. Characters that appear in Chars(default is SwitchChars) are assumed to indicate an option (switch). If the parameter IgnoreCaseis True, case will be ignored when looking for the switch. Default is to search case sensitive.
None.
|
Characters which start a command-line switch |