1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-07-06 01:10:23 +00:00
QB64-PE/internal/help/_SNDPLAY.txt
2016-03-18 08:36:04 -03:00

23 lines
515 B
Plaintext

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