Ok, so I am designing my own programming language in qb64, using subs. I have a selecct case type command as well as a case type command and an end select type command. I plan on adding a case else type command at some point.
Therein lies the problem. The language is interpreted so my lexer/parser checks for tokens and parses the tokens seperate from the rest of the line of code. Now, I call a specific sub for each command in my language. I can call a sub for the select case type command, but as we all know, it has multiple parts to it.
If when the qb64 source code says select case var in the sub, do I have to include the case "whatever" after it for the compiler to detect it, or can that part be in another sub?