Announcement

Collapse

Documentation

All current versions of the PowerBASIC documentation are available for download/viewing here:

PowerBASIC Links
See more
See less

WAITKEY$(timecount) Problem When Invoked Exactly On The Hour.

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • WAITKEY$(timecount) Problem When Invoked Exactly On The Hour.

    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



Working...
X