Prompt Timer conflict

From Liberty BASIC Family
Revision as of 14:22, 14 September 2020 by StPendl (talk | contribs) (Text replacement - "Bug Tracker Categories" to "Bug Tracker")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


Description

If a Timer statement has been issued then Prompt will not properly wait for input. It is bypassed and the code continues leaving the Prompt dialog hanging. It takes input but it is not taken into the program.

Example code to demonstrate the bug.

print "program starts"
timer 500, [delay]
wait

[delay]
timer 0
print "delay ended"

print "prompt issued"
prompt "Enter something"; a$
print "You entered: "; a$
print "Program ended"
end