mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-09-16 16:44:05 +00:00
6e01fc8dce
Added new _STRCMP and _STRICMP commands for quick string comparisons. Cleaned up QB64 to finish removing the QUI (quick user insert) code and folders. Altered UCASE and LCASE routines to be faster in some situations for us.
26 lines
No EOL
498 B
Text
26 lines
No EOL
498 B
Text
The {{KW|_SNDPLAY}} statement plays a sound designated by a file handle created by {{KW|_SNDOPEN}}.
|
|
|
|
|
|
{{PageSyntax}}
|
|
:{{KW|_SNDPLAY}} ({{Parameter|handle&}})
|
|
|
|
|
|
{{PageDescription}}
|
|
* Make sure that the 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}}
|
|
*{{KW|_SNDPAUSE}}, {{KW|_SNDPLAYING}}
|
|
|
|
|
|
{{PageNavigation}} |