What is wrong with this code???

Blitz3D Forums/Blitz3D Beginners Area/What is wrong with this code???

Function LoadLogo()

		Logo_Pointer = LoadImage ("logo.png")
		If (Logo_Pointer) <> 0 Then QuickExit 
		Else RuntimeError "Failed to find & load required image file"
		End If
.QuickExit
End Function 


I keep getting "ELSE without IF" ???????