_SNDPLAY - QB64 Wiki

_SNDPLAY

From QB64 Wiki

Jump to: navigation, search

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


Contents

Syntax

_SNDPLAY handle&


Description

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


Examples

Example: Checking a handle value before playing

IF h& THEN _SNDPLAY h&


See also



Navigation:
Go to Keyword Reference - Alphabetical
Go to Keyword Reference - By usage
Go to Main WIKI Page
Personal tools