BREAK Keyword

BlitzMax Forums/BlitzMax Programming/BREAK Keyword

One thing I'm noticing that Blitz is missing is a Break keyword to early out of loops. Yeah, you can do it with a flag, but it would be cool if it was built into the language. Any chance of this in a future release? It probably isn't needed for Select statements, but For, While, Repeat would be very useful.

Use "Exit" where you'd use Break.

And don't bother sticking Exit after a Case block in a Select..End Select.

Ah sweet. That'll do just nicely.