I know I'm a pain in the ass...
A question I've wanted to ask for a long time.
Let's talk about "Select Case"
case 10 - It works
Case 1 to 23 - It works
Case 1,3,5,7 - Does not work.
Is my compiler bad or is there a reason why this feature wasn't implemented?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Looks like it would be possible to add Case 1 OR 3 OR 5 OR 7, but replacement of "," to"OR" statements and then make the changes in the CompileSelect sub routine.
Is this time for you have a look at the source? Line 8221 CompileSelect in GCBASIC.BAS
You can compile directly from GCSTUIDO.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I know I'm a pain in the ass...
A question I've wanted to ask for a long time.
Let's talk about "Select Case"
case 10 - It works
Case 1 to 23 - It works
Case 1,3,5,7 - Does not work.
Is my compiler bad or is there a reason why this feature wasn't implemented?
You are correct. Never implemented.
Looks like it would be possible to add Case 1 OR 3 OR 5 OR 7, but replacement of "," to"OR" statements and then make the changes in the CompileSelect sub routine.
Is this time for you have a look at the source? Line 8221 CompileSelect in GCBASIC.BAS
You can compile directly from GCSTUIDO.