The compchktype Statement
The compchktype compiler statement takes a variable as its first argument. The second argument must be type name that can be evaluated by the compiler during program compilation. It reports a compiler error if the type of the variable does not match the second argument. The syntax of the compchktype statement is shown below.
compchktype _args, TDrawText syscall DrawText, _args