this line is perfectly accepted in the IDE, whether or not it works right I don't know yet,
IF Result%% THEN REM do nothing: ELSE Player(0).On_Ground = FALSE
but this line results in a IF without END IF error
IF Result%% THEN ' do nothing: ELSE Player(0).On_Ground = FALSE
its part of my Mario clone ground collision routine, if RESULT is true player is on the ground which keeps gravity from pulling him down more, but if there is no collision then the player must not be on the ground anymore.
I realize I can leave the comment out and just have THEN ELSE blah, blah
but that just look grammatically wrong to me and bugs me. I could break it up too but I'm trying to cut down on extra lines to
keep the code more readable as well. I could also have it keep setting Player(0).On_Ground = TRUE but that is handled
elsewhere and I'm not sure I want it handled in the collision yet, as it causes small issues within the Gravity routine and how it
handles that last move from free fall to landing. when the final distance is less than a Terminal_Velocity value.
SOOOoooo what I'm am curious about is why allow REM to work just fine but moan and groan about using " ' " within an IF/THEN/ELSE statement?
Not that I think anything really needs done about it, as there are more important things in QB64 like ARRAYs in UDTs to figure
out but its late(for me anyway) and I'm tired and in a good deal of pain tonight and just thought I might throw this out there.