Select Case w/And

Blitz3D Forums/Blitz3D Beginners Area/Select Case w/And

There's nothing syntactically wrong with what you have, except the "n=..." line needs to be above the Select statement (and you need an End Select, of course).

This works fine:
command$="title"
n=Len(command$)

Select True
	Case command$=Left$("title",5) And n>2
		Notify "hi"
	Default 
		Notify "nothing"
End Select