[an error occurred while processing this directive]
|
void printstr(unsigned char code *dptr)
{
while (*dptr!=0)
{
lcdchar(*dptr);
dptr++;
}
}/*End printstr*/
/********************************************/
void printword(unsigned char index)
{
printstr(words[index]);
}/*End printword*/
/********************************************/
unsigned char code * code words[]=
{
"AAAAAAAAAAAAA", /*0*/
"BBBBBBBBBBBBB", /*1*/
"............." /*2*/
}
/********************************************/
unsigned char code str[]={2,0,1};
/********************************************/
...
printword(str[i]);
или
printstr(2);
...
E-mail: info@telesys.ru