non-terminated string still compiles

Archives Forums/Blitz3D Bug Reports/non-terminated string still compiles

Jams(Posted 2006) [#1]
TestString$ = "TESTING"
;TestString$ = "NOT TESTING"

Select TestString
	Case "TESTING:
		Print("testing")
	Case "NOT TESTING:
		Print("not testing")
End Select

WaitKey:End


Note the unterminated strings in the Case statements... this really shouldn't compile, should it?

Just a weird little thing i came across :)


Jams(Posted 2006) [#2]
An even simpler example..

Local nString$ ="not terminated
Print nString$
WaitKey: End



Damien Sturdy(Posted 2006) [#3]
Blimey, another old bug!

Does this impair your ability to program? :P haha.

It shouldn't compile, so yeah it is a bug. It's not a biggie though :)