SNDPLAY: Difference between revisions
Jump to navigation
Jump to search
Navigation:
Main Page with Articles and Tutorials
Keyword Reference - Alphabetical
Keyword Reference - By usage
Report a broken link
(Created page with "{{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}} * _SNDO...") |
No edit summary |
||
Line 13: | Line 13: | ||
{{PageExamples}} | {{PageExamples}} | ||
''Example:'' Checking a handle value before playing | ''Example:'' Checking a handle value before playing | ||
{{CodeStart}} | {{CodeStart}} | ||
{{Cl|IF...THEN|IF}} h& {{Cl|THEN}} {{Cl|_SNDPLAY}} h& | {{Cl|IF...THEN|IF}} h& {{Cl|THEN}} {{Cl|_SNDPLAY}} h& | ||
{{CodeEnd}} | {{CodeEnd}} | ||
Line 23: | Line 23: | ||
{{PageNavigation}} | {{PageNavigation}} | ||
[[Category:Latest]] |
Revision as of 07:57, 8 July 2022
The _SNDPLAY statement plays a sound designated by a file handle created by _SNDOPEN.
Syntax
- _SNDPLAY handle&
Description
- Make sure that the handle& value is not 0 before attempting to play it.
Examples
Example: Checking a handle value before playing
IF h& THEN _SNDPLAY h& |
See also