If it isn't already a part of QB64, here's what I'd like to have:
Maybe I want the prog. to assign a value to a variable based on, say, the counter in a FOR...NEXT loop...
Example: If the counter, C, runs from 1 to 3, then...
IF C = 1 THEN Main_BG_Clr& = _RGB(255, 0, 0) ELSE IF C = 2 THEN Main_BG_Clr& = _RGB(0, 255, 0) ELSE Main_BG_Clr& = _RGB(55, 55, 255)
could be replaced with...
Main_BG_Clr& = _SELVAL(C, _RGB(255, 0, 0), _RGB(0, 255, 0)_ RGB(0, 0, 255))
...or...
ON C Main_BG_Clr& = (_RGB(255, 0, 0), _RGB(0, 255, 0)_ RGB(0, 0, 255))
What do you think? Maybe not enough of a time/space saver?