the keyword EXIT already exists so one could simply build on it. It already has a dual purpose, to exit a script, or in the case of a UDF to exit the udf only. All that would be required are a few parameters.

EXIT
EXIT {value}
EXIT FOR
EXIT WHILE
EXIT DO
EXIT UDF

You get the picture...
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.