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

26 lines
552 B
Plaintext
Raw Normal View History

2016-03-18 11:36:04 +00:00
{{DISPLAYTITLE:_SNDPLAY}}
The [[_SNDPLAY]] statement plays a sound designated by a file handle created by [[_SNDOPEN]].
{{PageSyntax}}
2017-10-10 14:55:21 +00:00
: [[_SNDPLAY]] {{Parameter|handle&}}
{{PageDescription}}
2017-10-10 14:55:21 +00:00
* Make sure that the {{Parameter|handle&}} value is not 0 before attempting to play it.
2017-10-10 14:55:21 +00:00
{{PageExamples}}
''Example:'' Checking a handle value before playing
2016-03-18 11:36:04 +00:00
{{CodeStart}} '' ''
{{Cl|IF...THEN|IF}} h& {{Cl|THEN}} {{Cl|_SNDPLAY}} h& '' ''
{{CodeEnd}}
{{PageSeeAlso}}
2016-03-18 11:36:04 +00:00
* [[_SNDOPEN]], [[_SNDPAUSE]], [[_SNDPLAYING]]
2019-04-15 01:15:33 +00:00
{{PageNavigation}}
<