this code does not produce an error in my IDE! I would have though it would have thrown something but perhaps I'm wrong.
IF MO% = 19 THEN Oprint 18, 368, "Game", White, NORMAL ELSE Oprint 18, 368, "Game", Grey, NORMAL
IF MO% = 20 THEN Oprint 86, 368, "Design", White, NORMAL else
IF MO% = 21 THEN Oprint 164, 368, "Fleet", White, NORMAL else
IF MO% = 22 THEN Oprint 236, 368, "Map", White, NORMAL else
IF MO% = 23 THEN Oprint 292, 368, "Races", White, NORMAL else
IF MO% = 24 THEN Oprint 366, 368, "Planets", White, NORMAL else
IF MO% = 25 THEN Oprint 458, 368, "Tech", White, NORMAL else
IF MO% = 26 THEN Oprint 524, 368, "Next Turn", White, NORMAL else
shouldn't it be complaining about nothing after the 'ELSE'? although its not capitalizing the 'else' until I add the condition.(if I use the code=64 the forum auto capitalizes it so had to remove the =64 to show it)
Is the proper behavior for QB64 not to care if there is a condition after an 'else' or is something else(no pun intended) going on?