SYShasSwitch |
Top Previous Next |
Counters investigate. With this routine it is checked whether in the command line parametres a counter with the pattern muster seems. A counter is recognised by it if he ''''begins either with him '- 'or '/ 'sign. A counter has no value, only the text is evaluated in muster. Largely / use of small letters is not distinguished. Parametre argc (int) [IN] Number of the parametres in the command line. argv (char **) [IN] Sign chains from the command line. muster (char *) [IN] muster contains the counter to be searched. Besides, the sign chain muster ''''may not contain this '- 'or '/ 'sign. Largely / use of small letters is not distinguished. Result (int) [OUT] If the counter could be found, his position becomes in the command line zurückgeliefert, but 0. Declaration #include "basic.h"
int DLLENTRY SYShasSwitch ( int argc, char ** argv, char * muster );
|