Internal function.
.chkArgs(mode = 11L)
mode
Integer code giving the type of check to be run.
None. Stops if there is a problem with the arguments.
Bryan A. Hanson (DePauw University).