SYShasValueSwitchInt |
Top Previous Next |
Value as a stand-in determine. With this routine the parametre which agrees with key is determined from the command line. Besides, the value is interpreted as int. Parametres have the following form: <Parametre name / value><>. Parametre argc (int) [IN] argc gives the number of the parametres of the command line. argv (char **) [IN] Sign chains in the command line. key (char *) [IN] key contains the parametre name to be searched And the distinguishing slash may not be given with. value (stands in *) [IN / OUT] In value becomes the value zurückgeliefert. Result (int) [OUT] If the parametre could be found, becomes TRUE zurückgeliefert, but FALSE. Declaration #include "basic.h"
int DLLENTRY SYShasValueSwitchInt ( int argc, char ** argv, char * key, int * value ); Related functions SYShasValueSwitchAngle Remarks If several parametres with the same name are in the command line, becomes the last value zurückgeliefert.
|