HB_ArgString
Retrieves the vale of an internal switch set on the command line.
Syntax
HB_ArgString( <cSwitch> ) --> <cValue>
Arguments
<cSwitch> : A string holding the symbolic name of of an internal switch
Returns
If exist <cSwitch> in command line, remain of this switch in the argument, else a null string
Description
There are two kind of internal switches : prefixed and regular. Prefixed internal switches always have two slashes as prefix. This function return value of a prefixed switch.
Example
// If command line is : C:\temp>test.exe p1 p2 //p3 ? HB_ArgString( 'p' ) // 3
Seealso
HB_ArgShift(), HB_ArgC(), HB_ArgCheck(), HB_ArgV(), PCount(), HB_PValue(), HB_AParams()