Skip to content

SwitchChars

Characters which start a command-line switch

Declaration

Source position: sysstrh.inc line 271

const
SwitchChars = ['/', '-']

Description

The characters in this set will be used by the FindCmdLineSwitch function to determine whether a command-line argument is a switch (an option) or a value. If the first character of an argument is in SwitchChars, it will be considered an option or switch.

See also

Name Description
FindCmdLineSwitch Check whether a certain switch is present on the command-line.