There is a problem with both PBCC CON.WAITKEY$(timeout) and PBWin GRAPHIC.WAITKEYS(keymask,timeout) when the timeout coincides with the computer clock rolling over an exact hour.
It appears that when the SystemTime is xx:00:00.000 i.e. minutes, seconds and milliseconds are all zero, the timeout interval gets set to 0 which is an infinite timeout.
See the thread here for the detailed testing:
https://forum.powerbasic.com/forum/u...sed#post809702
It appears that when the SystemTime is xx:00:00.000 i.e. minutes, seconds and milliseconds are all zero, the timeout interval gets set to 0 which is an infinite timeout.
See the thread here for the detailed testing:
https://forum.powerbasic.com/forum/u...sed#post809702