Prompt Timer conflict

From Liberty BASIC Family
Revision as of 03:03, 11 October 2023 by StPendl (talk | contribs) (1 revision imported)
(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