[futurebasic] Exiting LONG IF ... END IF

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : November 2002 : Group Archive : Group : All Groups

From: lcs@...
Date: Tue, 26 Nov 2002 16:12:26 +0100 (MET)

Hi All,

I notice that EXIT"<LABEL>" syntax is now strongly
recommended in the doc for exiting a LONG IF ... END IF
block.

The funny thing is that for a number of years before EXIT 
appeared I bent over backwards to avoid exiting such 
blocks by a GOTO"<LABEL>" statement.  Later on, I did a 
lot of tests to convince myself that such GOTO"<LABEL>" 
statemants are OK (with reasonable provisos in the docs). 
The result is that I have a lot of old code with such 
GOTO exits. 

Whence my question: Is this use of EXIT"<LABEL>"
just a precaution allowing for future Mac/FB evolution,
or is it an urgent bug control measure *today*?

Cheers

Laurent S.