Difference between revisions of "SNDPAUSED"

From QB64 Wiki
Jump to navigation Jump to search
imported>SMcNeill
imported>SMcNeill
(style guidelines)
 
Line 4: Line 4:


{{PageSyntax}}
{{PageSyntax}}
::: paused% = '''_SNDPAUSED('''{{Parameter|handle&}}''')'''
: {{Parameter|isPaused%%}} = [[_SNDPAUSED]]({{Parameter|handle&}})




{{PageDescription}}
{{PageDescription}}
*Returns -1 if the sound is paused. 0 if not paused.
*Returns true (-1) if the sound is paused. False (0) if not paused.




''Example:''
{{PageExamples}}
{{CodeStart}} '' ''
{{CodeStart}} '' ''
{{Cl|PRINT}} {{Cl|_SNDPAUSED}}(h&) '' ''
{{Cl|PRINT}} {{Cl|_SNDPAUSED}}(h&) '' ''

Latest revision as of 14:17, 9 September 2017

The _SNDPAUSED function checks if a sound is paused. Uses a handle parameter passed from _SNDOPEN.


Syntax

isPaused%% = _SNDPAUSED(handle&)


Description

  • Returns true (-1) if the sound is paused. False (0) if not paused.


Examples

PRINT _SNDPAUSED(h&)


See also



Navigation:
Keyword Reference - Alphabetical
Keyword Reference - By Usage
Main Wiki Page