err1, err2, and err3 are all supposed to fail. in.pas is supposed to pass. I can either have in.pas AND err2pass, or I can have them both fail. Which means I have a bug somewhere. It's most likely in the checking of variables versus constants, but that code is right, as far as I can tell.