Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
JavaScript-ing it, I need to get with it
#11
(11-07-2022, 01:31 AM)Pete Wrote: SELECT CASE moves the program flow through just one condition in the block. SELECT EVERYCASE moves your program flow through every case in the block that is true. SELECT EVERYCASE is therefore useful during some instances where the coder would otherwise need to add more conditional statements to handle all possible conditions.

Pete

Well crap.  EVERYCASE means every case.  Dammit.

Whereas SELECT CASE means "JUSTTHEONECASE".

I knew I should have skipped this morning's dose of stupid pills.  They really should only be taken on an empty brain...

Embarrassingly, thanks?
Reply


Messages In This Thread
RE: JavaScript-ing it, I need to get with it - by CharlieJV - 11-07-2022, 02:10 AM



Users browsing this thread: 1 Guest(s)