uisdigit(3alleg4) | Allegro manual | uisdigit(3alleg4) |
uisdigit - Tells if a character is a digit. Allegro game programming library.
#include <allegro.h>
int uisdigit(int c);
Returns nonzero if `c' is a digit.
for (counter = 0; counter < ustrlen(text_string); counter++) {
if (uisdigit(ugetat(text_string, counter)))
usetat(text_string, counter, '*');
}
uisspace(3alleg4), ugetc(3alleg4), usetc(3alleg4), uwidth(3alleg4), ucwidth(3alleg4), uisok(3alleg4)
version 4.4.2 | Allegro |