>>> Or is EXIT FN actually OK to use at any time? >>> >>> Inquiring minds want to know...;) >> >> Probably only Andy can give a definitive answer, but my understanding >> has always been that this is exactly what EXIT FN was designed for, >> and is the safest and fastest way to do it. I use it regularly and >> have never had any difficulty. >> >> Covington suggests that his mileage varies, but that's not unusual >> :-) If this truly is a dangerous practice, I would like to know for >> certain. > > I have had several problem crashes on rare occasion, that turned out > to be Exit FN from a select case. It would bomb on the return stack > pointer, not at the actual exit from the FN, so my guess what that it > did not indeed know where to return to for some reason at that point. Exit Fn is OK to use at any time. In an early release of FB^3 there was indeed a bug causing the stack pointer to be wrong if Exit Fn was used in Select/End Select block, but that was fixed several releases ago. ... select asc( k ) case > _"9" : exit fn // perfectly safe end select ... Robert P.