QB64.org Forum

Active Forums => QB64 Discussion => Topic started by: Pete on February 12, 2020, 08:02:57 pm

Title: Hey developers, in CASE you missed it...
Post by: Pete on February 12, 2020, 08:02:57 pm
Did you guys know that when you forget to put an END IF in a block IF/THEN statement, within a SELECT CASE statement, the IDE thinks (reports) a END SELECT without SELECT CASE on current line... instead of an IF without END IF?

SELECT CASE foo
CASE -1
IF a = b then
PRINT "a = c"
END SELECT

No biggie, and you guys probably already knew about. I've seen it before, too, but I figured since you guys are always improving the product, I'd bring it up... Oh BS, I just wanted to pop another pun in the subject box!

Pete
Title: Re: Hey developers, in CASE you missed it...
Post by: FellippeHeitor on February 12, 2020, 08:10:58 pm
Yes.