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.

here's another one, how am I supposed to write this?!:

		If x <= 0-w2 Then del=1
		ElseIf x>=ScreenWidth+w2 Then del = 1	
		ElseIf y <= 0-h2 Then del = 1
		ElseIf y>=ScreenHeight+h2 Then del =1


If padded out and using EndIf, it would have 3(4?) levels of nesting.