Project

General

Profile

Bug #437

Inkey$ detecting keypress when not pressed

Added by Paul Kitching over 3 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Target version:
-
Start date:
08/05/2020
Due date:
% Done:

0%

Estimated time:
Affected version:

Description

In this example, pressing 'p' doesn't pause the program for more than the wait command. It's getting past the inkey$ check, which was working on older versions:

#manifest: "aoz"
#splashScreen:false
pen 1
do
    locate 1,1:print rnd(10)
    if key state(80)                    // p to pause
        locate 0,4:centre "Paused"
        wait 0.5
        clear key
        while inkey$=""
            wait vbl
        wend
        cls
    end if
    wait vbl
loop
end
#1

Updated by Brian Flanagan over 3 years ago

  • Status changed from New to Resolved
  • Assignee changed from AOZ Studio Team to Brian Flanagan

This is working in the current version.

#2

Updated by Brian Flanagan over 3 years ago

  • Status changed from Resolved to Closed

Re-tested in 0.9.9.4 RC1 to verify.

Also available in: Atom PDF