1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-07-03 15:51:20 +00:00
QB64-PE/internal/help/_SNDPLAY.txt

26 lines
498 B
Plaintext

The {{KW|_SNDPLAY}} statement plays a sound designated by a file handle created by {{KW|_SNDOPEN}}.
{{PageSyntax}}
:{{KW|_SNDPLAY}} ({{Parameter|handle&}})
{{PageDescription}}
* Make sure that the handle value is not 0 before attempting to play it.
{{PageExamples}}
''Example:'' Checking a handle value before playing
{{CodeStart}}
{{Cl|IF...THEN|IF}} h& {{Cl|THEN}} {{Cl|_SNDPLAY}} h&
{{CodeEnd}}
{{PageSeeAlso}}
*{{KW|_SNDPAUSE}}, {{KW|_SNDPLAYING}}
{{PageNavigation}}