char *pCurSMS;for(pCurSMS=ParseSMS; pCurSMS[0] && pCurSMS[1]; pCurSMS+=2) pSMS->sms[txt_counter++] = HexToByte( pCurSMS );