RE: The example file AUDIO.BAS in the SAMPLES folder

by (no login)

This has a typo which means certain information is not returned properly. It is not a bug in QB64, just in the example .BAS program.

How to fix it?
Change:
IF k$ = "Q" THEN
PRINT "PRINT _PLAYING("; h; ")"
PRINT _PLAYING(h)
PRINT "PRINT _GETPOS("; h; ")"
PRINT _GETPOS(h)
END IF
To:
IF k$ = "Q" THEN
PRINT "PRINT _SNDPLAYING("; h; ")"
PRINT _SNDPLAYING(h)
PRINT "PRINT _SNDGETPOS("; h; ")"
PRINT _SNDGETPOS(h)
END IF

Posted on Mar 2, 2008, 11:24 AM
from IP address 58.110.128.68

Respond to this message   

Return to Index