upstring.c Riscritta in ANSI C

pagsca.h    Aggiunta data del pagamento


git-svn-id: svn://10.65.10.50/trunk@1819 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
guy 1995-09-13 16:02:23 +00:00
parent 8d43a014c7
commit e8c89b8688
2 changed files with 10 additions and 16 deletions

View File

@ -9,6 +9,7 @@
#define PAGSCA_ACCSAL "ACCSAL" #define PAGSCA_ACCSAL "ACCSAL"
#define PAGSCA_ABBUONI "ABBUONI" #define PAGSCA_ABBUONI "ABBUONI"
#define PAGSCA_DIFFCAM "DIFFCAM" #define PAGSCA_DIFFCAM "DIFFCAM"
#define PAGSCA_DATAPAG "DATAPAG"
#define PAGSCA_CODABI "CODABI" #define PAGSCA_CODABI "CODABI"
#define PAGSCA_CODCAB "CODCAB" #define PAGSCA_CODCAB "CODCAB"

View File

@ -1,16 +1,9 @@
#include "ccommon.h" #include <ctype.h>
char* CUpString(char* s)
char *CUpString(s) {
char *s; /* stringa da trasformare in maiuscolo */ char* c;
for (c = s; *c; c++)
{ *c = toupper(*c);
char *s1 = s; return s;
}
while (*s1)
{
*s1 = UPCASE(*s1);
s1++;
}
return(s);
}