SYShasValueSwitchText

Top  Previous  Next

Parametres from the command line investigate.

With this routine the parametre schalter from the command line is determined and his value is taken over in value. The parametre has the form: <Parametre name / value><>. Largely / use of small letters is not distinguished.

Parametre

argc (int) [IN]

argc gives the number of the parametres in the command line.

argv (char **) [IN]

Sign chains in the command line.

schalter (char *) [IN]

schalter is the parametre name which is searched.

value (char **) [IN / OUT]

In value the value becomes as a sign chain zurückgeliefert.

Result

(int) [OUT]

If the value could be determined, it is delivered TRUE, but FALSE.

Declaration

#include "basic.h"

 

int DLLENTRY SYShasValueSwitchText (

int argc,

char ** argv,

char * schalter,

char ** 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

SYShasValueSwitchPointer

SYShasValueSwitchShortfield

Remarks

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