A89: What's Wrong?
[Prev][Next][Index][Thread]
A89: What's Wrong?
I have this function to wait for a key, but
after I press one of the keys in the row it reads, keep returning the value
of key2 instead of reinitializing it and waiting for another key press.
What did I do wrong?
int keywait()
{
int
key2=0;
key2=0xFF;
while(!(key2&0xFF))
key2=_rowread(0xfffe);
return
key2;
}
Peter
If one is travelling faster than light, would he
really travel back in time, or just be able to view past events again without
being able to change them?
Follow-Ups: