Project

General

Profile

Bug #247

Calling Boom, Shoot, or Bell too quickly causes AOZ to lock up. (Other events are not processed.)

Added by Brian Flanagan about 4 years ago. Updated about 3 years ago.

Status:
Feedback
Priority:
Low
Target version:
-
Start date:
02/22/2020
Due date:
% Done:

0%

Estimated time:
2:00 h
Affected version:

Description

If Shoot or Boom is called a second time too quickly, it will cause AOZ to fail processing other commands.

In this example, after the first click, the sound is triggered continuously, and somehow, it is interfering with other event handling. The program never detects when the mouse button has been released, nor does it detect a break (Ctrl-C):

Repeat
    If Mouse Key = 1 Then Shoot
Until Mouse Key = 2

See related bug #74 (closed) for more information. This used to cause an Internal error.

Now, it just locks up AOZ (no more events are processed).

This can still be worked around by putting in a sufficient delay:

Repeat
    If Mouse Key = 1 Then Shoot
    Wait Vbl
Until Mouse Key = 2

Also available in: Atom PDF