1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-07-03 13:31:23 +00:00
QB64-PE/internal/help/_SNDLIMIT.txt

26 lines
494 B
Plaintext
Raw Normal View History

The {{KW|_SNDLIMIT}} statement stops playing a sound after it has been playing for a set number of seconds.
{{PageSyntax}}
:{{KW|_SNDLIMIT}} ({{Parameter|handle&}}, {{Parameter|limit!}})
{{PageDescription}}
*Sets how long a sound will be played in seconds.
*Set limit to 0 to remove the limit.
*Cannot be set for playing a looping sound.
{{PageExamples}}
{{CodeStart}}
{{Cl|_SNDLIMIT}} h&, 5.5
{{CodeEnd}}
{{PageSeeAlso}}
*{{KW|_SNDOPEN}}, {{KW|_SNDLEN}}
{{PageNavigation}}