Check out the latest version of the BASIC Anywhere Machine "Amazing Grace" program:
_AUDIODONE
Description:
The _AUDIODONE function returns -1 (TRUE) if there are no sounds left to play in the sound queue, and returns 0 (FALSE) otherwise.
Syntax
_AUDIODONE
_ENDAUDIO
Description:
The _ENDAUDIO statement flushes the sound queue in order to stop playing currently queued sounds. There may be a few sounds in the queue that have gone past the point of no return, so there may be a slight delay before all sounds stop playing.
Syntax
_ENDAUDIO