程序中wenjinchuansong03=36或wenjinchuansong03=20,如果用~ if判定总是为真,如果用!就可以正确的判定出来这是为什么?
if(~((wenjinchuansong03>=30)&(wenjinchuansong03<=50)))
{
if(xianshizhuanhuan)
PutStr(31,0x44,str24);//空白 //
else
PutStr(31,0x44,str04);//LUX NG
}
else
PutStr(31,0x44,str07);//LUX OK |