RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
SysUtils.SwitchChars Constant

Specifies the prefix character(s) for program command line arguments.

Pascal
SwitchChars = ['/','-'];
C++
SwitchChars = ['/','-'];

When a program is started, an optional 'command line' string may be supplied. Such a string may specify program operational arguments, or 'switches', prefixed by a separator character. SwitchChars defines these separator characters as either '-' or '/' on a Windows system, and as '-' on Linux systems. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!