1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-07-26 08:35:52 +00:00
QB64-PE/internal/help/_SNDSETPOS.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

31 lines
744 B
Plaintext

The {{KW|_SNDSETPOS}} statement changes the current/starting playing position of a sound in seconds.
{{PageSyntax}}
:{{KW|_SNDSETPOS}} ({{Parameter|handle&amp;}}, {{Parameter|position!}})
{{PageDescription}}
*Changes the current/starting playing position of a sound in seconds(a {{KW|SINGLE}} value).
*If the seconds position is past the length of the sound the sound will stop playing.
*Opened files must have the &quot;SETPOS&quot; capability to use this statement.
*Function cannot be called while a looping({{KW|_SNDLOOP}}) sound is being played.
{{PageExamples}}
{{CodeStart}}
{{Cl|_SNDSETPOS}} h&amp;, 5.5
{{CodeEnd}}
{{PageSeeAlso}}
*{{KW|_SNDGETPOS}}, {{KW|_SNDLEN}}, {{KW|_SNDOPEN}}, {{KW|_SNDLIMIT}}
{{PageNavigation}}