Syntax error - unexpected token ''

Monkey Forums/Monkey Programming/Syntax error - unexpected token ''

[VOLOFORCE](Posted 2016) [#1]
Hi,

I am new user.

I am currently experimenting a little bit with Monkey and I like it so far. But suddenly I get an error:

Class Game Extends App

	
	Field player:Controller
	
	
	Method OnCreate:Int()	
		
		SetUpdateRate(60)
		player = New Controller

			
		Return 0
	End Method
	
	
	Method OnUpdate:Int()
		
	
		player.Update()
		
			

		Return 0
	End Method
	
	
	Method OnRender:Int()
		
		Cls(100, 34, 66)
		
		player.Render()

		
		Return 0
	End Method
	
End Class


well it says:

Syntax error - unexpected token ''

I looked around, but nothing.

I don't think the other code is so important?!


therevills(Posted 2016) [#2]
I guess thats not the full code.. what is the full error message?

This works for me: