Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Drawcards
#8
(06-21-2023, 12:32 AM)TerryRitchie Wrote: Interesting use of EVERYCASE. I haven't used it yet simply because I've never really thought about it's usefulness. Thanks for the demo.

Edit: By the way, does anyone know in which version of QB64 EVERYCASE was introduced? The Wiki forwards me to SELECT CASE when I search for EVERYCASE.


I'm not sure exactly when EVERYCASE was implemented, but I'm pretty sure it was one of Clippy's requests and it came to be right around the end of SDL / beginning of GL.

EDIT :
From the QB64GL v1000 help files dated 02-22-2014 :
Quote:(partial)
'''SELECT CASE''' is used to determine the program flow by comparing the value of a variable to specific values.

{{PageSyntax}}
:::::SELECT CASE variable
::::::' [[CASE]]
::::::' [[CASE IS]]
::::::' [[CASE ELSE]]
:::::[[END SELECT]]



From the QB64GL v1.1 help files dated 03-18-2016 :
Quote:(partial)
'''SELECT CASE''' is used to determine the program flow by comparing the value of a variable to specific CASE values.

{{PageSyntax}}
:::'''SELECT''' [EVERY]'''CASE''' ''checkvalue''
::::[[CASE]]
::::[[CASE IS]]
::::[[CASE ELSE]]
:::'''[[END SELECT]]'''
Reply


Messages In This Thread
Drawcards - by James D Jarvis - 06-19-2023, 08:49 PM
RE: Drawcards - by James D Jarvis - 06-20-2023, 02:44 PM
RE: Drawcards - by GareBear - 06-20-2023, 05:41 PM
RE: Drawcards - by GareBear - 06-20-2023, 05:50 PM
RE: Drawcards - by mnrvovrfc - 06-20-2023, 06:59 PM
RE: Drawcards - by James D Jarvis - 06-20-2023, 09:52 PM
RE: Drawcards - by TerryRitchie - 06-21-2023, 12:32 AM
RE: Drawcards - by Stuart - 06-22-2023, 04:24 AM
RE: Drawcards - by TerryRitchie - 06-22-2023, 11:19 AM



Users browsing this thread: 1 Guest(s)