Why doesn't this compile in 1.22?

BlitzMax Forums/BlitzMax Programming/Why doesn't this compile in 1.22?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

For example, imagine how big this gets padded out:
		If Image.midhandled Then
			If x < 0-w2 Then Return 1
			ElseIf x > screenwidth + w2 Then Return 1
			If y < 0-h2 Then Return 1
			ElseIf y > screenheight + h2 Then Return 1
			Return 0 'OK		
		Else
			If x < 0-w Then Return 1
			ElseIf x > screenwidth Then Return 1
			If y < 0-h Then Return 1
			ElseIf y > screenheight Then Return 1
			Return 0 'OK
		EndIf