mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-09-16 12:04:06 +00:00
aeb9c0668b
Note: Many files were removed (not yet existing/empty pages). The parser will try to download them on demand and will auto-generate text for missing pages (eg. most _gl pages).
27 lines
570 B
Text
27 lines
570 B
Text
{{QBDLDATE:05-20-2022}}
|
|
{{QBDLTIME:23:11:04}}
|
|
{{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 {{Parameter|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}}
|
|
* [[_SNDOPEN]], [[_SNDPAUSE]], [[_SNDPLAYING]]
|
|
|
|
|
|
{{PageNavigation}}
|
|
|