Explanations.
onChar is a generated function so I can't change the header.
I am needing to get the value of nChar because it has the code of button just pressed. It compiles okay,but when I try to check the value so:
if (S=nChar)...
it always contains '8' (I can see it in the debugger) and the S=nChar returns 56 while it must be 0 or 1 !!!
Maybe it is buggy compiler...strange history.
UINT nChar = 56;
UINT nX, nY;
nY = 100;
// assign the value of nChar to nX
nX = nChar;
// compare nChar and nY for equality
bool bEqual = ( nChar == nY);
-pete I just can't seem to get back my IntelliSense
>> Are you sure you don't mean (S == nChar)?]
Good idea! I'll try it.
>> Wow, this is so bad...
Yeh that is bad. I can't get the solve at the second forum!
What's the code? I don't need to change its value, just to get it!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.