Short vs Long IF formats

Hi, I am a little confused on how the Flexy will treat a Short vs Long IF statement. If I have some code that looks like this:

IF counter% >=1 THEN
IF EOF 1 THEN GOTO $ReadDone
current$ = Get 1
… some other statements
ENDIF
$ReadDone:
ENDIF

My question is - since the second IF statement has been entered as short format, will the system link the first ENDIF to that IF statement or does the first ENDIF end up going to the first IF statement?

Hello,

From my experience, the IF and ENDIF pair with each other correctly regardless of format.

Are you experiencing errors with your BASIC IDE code?

-Kevin

No errors, more of just clarification. I was cleaning up code and if the ENDIFs got ignored then some gotos would be pointing incorrectly, but it all seems to be OK. Thank you very much for clearing it up.