I was using EXIT by itself and if the previous condition was not met, the function would continue. If I use EXIT 0 or EXIT 1 it works as you stated. I know it's simple and stupid, but can you explain the difference?