why does this not work
While Not KeyHit(key_escape)
sound=LoadSound("C:\Documents and Settings\-------\My Documents\Peabrain Files\Smiley\soundfx18.wav",True)
PlaySound sound
Global ship:TImage = LoadImage("C:\Documents And Settings\--------\My Documents\Peabrain Files\Smiley\smile man.bmp",filteredimage|dynamicimage)
HideMouse
Function DrawImage(image:TImage,x#,y#,frame=0) ship
If KeyHit(key_0)
Print "0"
EndIf
End
Wend
While Not KeyHit(key_escape)
sound=LoadSound("C:\Documents and Settings\-------\My Documents\Peabrain Files\Smiley\soundfx18.wav",True)
PlaySound sound
Global ship:TImage = LoadImage("C:\Documents And Settings\--------\My Documents\Peabrain Files\Smiley\smile man.bmp",filteredimage|dynamicimage)
HideMouse
Function DrawImage(image:TImage,x#,y#,frame=0) ship
If KeyHit(key_0)
Print "0"
EndIf
End
Wend