Author Topic: Hey developers, in CASE you missed it...  (Read 2981 times)

0 Members and 1 Guest are viewing this topic.

Offline Pete

  • Forum Resident
  • Posts: 2361
  • Cuz I sez so, varmint!
    • View Profile
Hey developers, in CASE you missed it...
« 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
Want to learn how to write code on cave walls? https://www.tapatalk.com/groups/qbasic/qbasic-f1/

FellippeHeitor

  • Guest
Re: Hey developers, in CASE you missed it...
« Reply #1 on: February 12, 2020, 08:10:58 pm »
Yes.