Alaska Software Inc. - Problems using "RETURN" and "EXIT" in source code
Username: Password:
AuthorTopic: Problems using "RETURN" and "EXIT" in source code
Joe Carrick Problems using "RETURN" and "EXIT" in source code
on Sun, 12 Jul 2009 09:11:58 -0700
If the "RETURN" statement is used in a procedure/function (other than at 
the end of that procedure/function) it will result in some of the 
following procedure/function not being visible in the Project Manager 
list.  This can happen if there's a condition that should just terminate 
the procedure/function.

If the "EXIT" statement is used in a DO loop it sometimes results in 
incorrect jumps if the following procedure/function is selected in the 
Project Manager window.  Interestingly, this is not always true.  I 
haven't determined the exact conditions necessary for the failure, but I 
think it the exit has to be within an IF/ENDIF inside the loop.

Both of the above can be avoided by alternate programming but they 
really are annoying problems.