2016-03-18 11:36:04 +00:00
|
|
|
{{DISPLAYTITLE:_SNDPLAY}}
|
|
|
|
The [[_SNDPLAY]] statement plays a sound designated by a file handle created by [[_SNDOPEN]].
|
2015-08-02 12:12:44 +00:00
|
|
|
|
|
|
|
|
|
|
|
{{PageSyntax}}
|
2017-10-10 14:55:21 +00:00
|
|
|
: [[_SNDPLAY]] {{Parameter|handle&}}
|
2015-08-02 12:12:44 +00:00
|
|
|
|
|
|
|
|
|
|
|
{{PageDescription}}
|
2017-10-10 14:55:21 +00:00
|
|
|
* Make sure that the {{Parameter|handle&}} value is not 0 before attempting to play it.
|
2015-08-02 12:12:44 +00:00
|
|
|
|
|
|
|
|
2017-10-10 14:55:21 +00:00
|
|
|
{{PageExamples}}
|
2015-08-02 12:12:44 +00:00
|
|
|
''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& '' ''
|
2015-08-02 12:12:44 +00:00
|
|
|
{{CodeEnd}}
|
|
|
|
|
|
|
|
|
|
|
|
{{PageSeeAlso}}
|
2016-03-18 11:36:04 +00:00
|
|
|
* [[_SNDOPEN]], [[_SNDPAUSE]], [[_SNDPLAYING]]
|
2015-08-02 12:12:44 +00:00
|
|
|
|
|
|
|
|
2019-04-15 01:15:33 +00:00
|
|
|
{{PageNavigation}}
|