I've been experimenting with Timer event handling as a means to signal the
user when a melody has finished playing and it seems to be working OK.
However, when I try use certain ON TIMER statements, I get error messages.
ON TIMER END gives me the following errors:
Error: Missing a begin '(' Fix it...
in file Sebastian:HOMMEL SOUND TUTOR.INCL at line 31 in STOPTHEMUSIC
*on timer *end
and
Error: Variable 'END' has not been DIM'ed.
in file Sebastian:HOMMEL SOUND TUTOR.INCL at line 31 in STOPTHEMUSIC
*on timer end*
and
Error: Expected an end ')' here...
Example: Too many parameters, or mismatched ().
in file Sebastian:HOMMEL SOUND TUTOR.INCL at line 31 in STOPTHEMUSIC
*on timer end*
I get a corresponding set of errors if I try to use ON TIMER OFF instead of
ON TIMER END
TIMER(0) OFF gives similar errors
TIMER OFF gives one error:
Error: Variable 'OFF' has not been DIM'ed.
in file Sebastian:HOMMEL SOUND TUTOR.INCL at line 32 in STOPTHEMUSIC
*Timer off*
TIMER (0) is OK, however; it doesn't result in any errors. I trust that it
will flush the timer event queue as advertised.
Is the Reference Manual incorrect about the syntax of these various
statements or is there some arcane aspect of their usage that I'm missing?
(I am running FB^3, release 6 on a G-3 with System 8.6)
TIA
Richard