switch (num[tempm])
{ case '0': wf[i].line=55;break;
case '1': wf[i].line=1;break;
case '2': wf[i].line=3;break;
case '3': wf[i].line=4;break;
case '4': wf[i].line=6;break;
case '5': wf[i].line=7;break;
case '6': wf[i].line=9;break;
case '7': wf[i].line=10;break;
case '8': wf[i].line=11;break;
case '9': wf[i].line=20;break;
case 'A': wf[i].line=23;break;
case 'B': wf[i].line=25;break;
case 'C': wf[i].line=26;break;
case 'D': wf[i].line=27;break;
case 'E': wf[i].line=39;break;
case 'F': wf[i].line=43;break;
}
if ((num[tempm+1]>'8') && (num[tempm+2]>'8') && (num[tempm+3]>'8'))
{wf[i].color=RGB(255,255,255);}
if ((num[tempm+1]>'8') && (num[tempm+2]>'8') && (num[tempm+3]<='8'))
{wf[i].color=RGB(255,255,254);}
if ((num[tempm+1]>'8') && (num[tempm+2]<='8') && (num[tempm+3]>'8'))