11-07-2022, 02:10 AM
(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?