HB_ArgCheck
Checks existence of an internal switch on the command line
Syntax
HB_ArgCheck( <cSwitch> ) --> <lExists>
Arguments
<cSwitch> : A character string holding the symbolic name of of an internal switch
Return
.T. (true) when the command line include an internal switch, otherwise .F. (false)
Description
There are two kind of internal switches : prefixed and regular. Prefixed internal switches always have two slashes as prefix. This function tests existence of prefixed switches.
Note
Use function HB_ArgString() to retrieve the value of an internal command line switch
Example
// If command line is : C:\temp>test.exe p1 p2 //p3 ? HB_ArgCheck( 'p' ) // .T.
Seealso
HB_ArgC(), HB_ArgV(), HB_ArgString(), HB_ArgShift(), PCount(), HB_PValue(), HB_AParams()