New to DB Pro for a couple of days. I'm using the User manual plus the DarkBasic Programming book and I'm trying to complete the project on Pong. Here's the first 26 lines of code:
Rem Project: DB Pong
Rem Created: 7/13/2008 2:20:49 PM
Rem ***** Define Variables *****
GLOBAL PlayerOnePoints AS INTEGER = 0
GLOBAL PlayerTwoPoints AS INTEGER = 0
GLOBAL BallX AS INTEGER = 320
GLOBAL BallY AS INTEGER = 320
GLOBAL SpeedX AS INTEGER = 3
GLOBAL SpeedY AS INTEGER = 1
`Specify player 1's paddle coordinates
GLOBAL PaddleX2 AS INTEGER = 5
GLOBAL PaddleY2 AS INTEGER = 200
`Specify player 2's paddle coordinates
GLOBAL PaddleX1 AS INTEGER = 625
GLOBAL PaddleY1 AS INTEGER = 200
INK RGB(255, 255, 0), 0
LOAD SOUND "sounds/hitmetal.wav", 1
LOAD SOUND "sounds/cannon.wav", 2
Program bombs out when it hits line 25, "LOAD SOUND "sounds/hitmetal.wav", 1" and then gives the error "runtime error 3002 cannot load sound line 25." I tried different ways of writing the LOAD SOUND line but none work. Wiped out and reinstalled and updated to version 6.9. Is there an obvious mistake I'm making? If not, where should I look next to troubleshoot this? In advance, thanks.