_SNDPLAY - QB64Official/qb64 GitHub Wiki

The _SNDPLAY statement plays a sound designated by a file handle created by _SNDOPEN.

Syntax

_SNDPLAY handle&

Description

  • Make sure that the handle& value is not 0 before attempting to play it.

Example(s)

Checking a handle value before playing


IF h& THEN _SNDPLAY h& 

See Also