SYShasValueSwitchPointer

Top  Previous  Next

Parametres from the command line investigate.

With this routine pointers from the command line can be determined. The parametre has the following form: <Parametre name / value ><>And the value of pointer ''''may begin with 0, 'x' or 'PTR_', otherwise everything is taken over as a pointer.

Parametre

argc (int) [IN]

Number of the arguments in the command line.

argv (char **) [IN]

Sign chains in the command line.

key (char *) [IN]

After key it is searched as a parametre in the command line And the distinguishing slash may not be given with.

value (void *) [IN / OUT]

In value becomes the value zurückgeliefert.

Result

(int) [OUT]

If the value could be determined, becomes TRUE zurückgeliefert, but FALSE.

Declaration

#include "basic.h"

 

int DLLENTRY SYShasValueSwitchPointer (

int argc,

char ** argv,

char * key,

void * value

);

Related functions

SYShasValueSwitchAngle

SYShasValueSwitchAngle

SYShasValueSwitchDouble

SYShasValueSwitchLong

SYShasValueSwitchLongfield

SYShasValueSwitchPointer

SYShasValueSwitchShortfield

SYShasValueSwitchText

Remarks

If several parametres with the same name are in the command line, becomes the last value zurückgeliefert.

[****]

SYShasValueSwitchInt

SYShasValueSwitchLong

SYShasValueSwitchLongfield

SYShasValueSwitchShortfield

SYShasValueSwitchText

Remarks

If several parametres with the same name are in the command line, becomes the last value zurückgeliefert.