SYShasValueSwitchLongfield |
Top Previous Next |
Parametres from the command line investigate. With this routine the parametre key is searched in the command line and his value is determined. The parametre can have the following form <parametre name / value,><> <parametre name / wert1-w><><ert2>, <parametre name >/ <Wert1>, <Wert2> or <parametre name / wert1-w><><ert2>, <Wert3>-<Wert4> etc. Parametre argc (int) [IN] Number of the arguments in the command line. argv (char **) [IN] Sign chains in the command line. key (char *) [IN] Parametres his value (e) are searched. values (long int *) [IN / OUT] values is a vector which takes up the results and must make available at least so much memory, how in maxlen given And the distinguishing slash may not be given with. maxlen (int) [IN] maxlen brags how many values can be taken up in the vector values. Result (int) [OUT] If values could be determined, becomes TRUE zurückgeliefert, but FALSE. Declaration #include "basic.h"
int DLLENTRY SYShasValueSwitchLongfield ( int argc, char ** argv, char * key, long int * values, int maxlen ); Related functions SYShasValueSwitchAngle If several parametres with the same name are in the command line, becomes the last value zurückgeliefert. Remarks If several parametres with the same name are in the command line, becomes the last value zurückgeliefert.
|