I have been wrestling with creating user-defined functions that use the @IF function to choose between two cases. As the help clearly points out, both the true and false cases are evaluated, so they must not generate an error. The function CLP that I showed in another post works only because the @CLIP function is amazingly tolerant of aberrant syntax and does not throw an error message for the alternative case. (Actually, I imagine that there are cases where the CLP function will not work; I...
Read more
Read more