1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-07-26 09:45:54 +00:00
QB64-PE/internal/help/_SNDPLAY.txt
SMcNeill 6e01fc8dce Altered string compare routines (<,<=,>,>=) so they don't give false results with CHR$(0).
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.
2014-09-22 08:19:03 -04:00

26 lines
498 B
Plaintext

The {{KW|_SNDPLAY}} statement plays a sound designated by a file handle created by {{KW|_SNDOPEN}}.
{{PageSyntax}}
:{{KW|_SNDPLAY}} ({{Parameter|handle&amp;}})
{{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&amp; {{Cl|THEN}} {{Cl|_SNDPLAY}} h&amp;
{{CodeEnd}}
{{PageSeeAlso}}
*{{KW|_SNDPAUSE}}, {{KW|_SNDPLAYING}}
{{PageNavigation}}