version 1.13, 2013/10/27 18:31:24 |
version 1.14, 2015/10/15 05:57:09 |
|
|
{ |
{ |
while ( *str ) |
while ( *str ) |
{ |
{ |
if ( ! isascii( (Char) *str ) || ! islower( *str ) ) |
if ( ! isascii( (Char) *str ) || ! islower( (Char) *str ) ) |
return 0; |
return 0; |
++str; |
++str; |
} |
} |
|
|
{ |
{ |
while ( *str ) |
while ( *str ) |
{ |
{ |
if ( ! isascii( (Char) *str ) || ! isupper( *str ) ) |
if ( ! isascii( (Char) *str ) || ! isupper( (Char) *str ) ) |
return 0; |
return 0; |
++str; |
++str; |
} |
} |
|
|
int sptr = 2; |
int sptr = 2; |
|
|
while ( isascii( array[sptr] ) && |
while ( isascii( array[sptr] ) && |
isxdigit( (char) array[sptr] ) ) |
isxdigit( array[sptr] ) ) |
/* Don't increment inside loop control |
/* Don't increment inside loop control |
* because if isdigit() is a macro it might |
* because if isdigit() is a macro it might |
* expand into multiple increments ... |
* expand into multiple increments ... |