SNDPLAY: Difference between revisions

From QB64 Phoenix Edition Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 23: Line 23:


{{PageNavigation}}
{{PageNavigation}}
[[Category:Latest]]

Revision as of 18:04, 25 November 2022

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.


Examples

Example: Checking a handle value before playing

 IF h& THEN _SNDPLAY h& 


See also



Navigation:
Main Page with Articles and Tutorials
Keyword Reference - Alphabetical
Keyword Reference - By usage
Report a broken link