Will Call CheckForErrors("Failed: text") work?
Call is for calling external kix files, not user functions.
Better to use:-
$ = CheckForErrors("Failed: text")
Also @ERRROR in the function has an extra R.
_________________________
Bill