A function that is designated as a try function has a Boolean return value (true or false) and has the construction OK:= MyTryFunction. A try function cannot have a user-defined return value.
If a try function call does not use the return value, the try function operates like an ordinary function and errors are exposed as usual.
If a try function call uses the return value in an OK:= statement or a conditional statement such as IF-THEN, errors are caught. The try function returns true if no error occurs; false if an error occurs.