Error CS1010: Newline in constant

hlo

Member
Licensed User
I have suddenly got this error;
Error CS1010: Newline in constant
Line Number: 637
Line:End SUb
when compiling on the desktop.


The below subroutine has been working fine till now with nothing changing (that I am aware of).
Oddly enough, I don't get the error when I compile in the handheld.
I can't figure it out.

Here is the routine:
hk3 has been defined as a hardkey.

Sub hk3_HardKeyPressed 'hardkey up, down and enter detect
Select hk3.KeyPressed
Case hk3.KeyUp
'msgbox("up")
c4=c4-1
Case hk3.KeyDown
'msgbox("down")
c4=c4+1
Case hk3.KeyEnter
If c4=0 Then
Msgbox("choose a menu option")
Else
dimmok_click
End If
End Select
hk3case
End Sub

thanks, HLO
 
Top