Kernel Toolkit 7.3 APIs Banner
Office of Information and Technology (OIT) Banner
[skip navigation]

CHKTF^XTMUNIT(): Test Conditional Values

Reference Type: N/A; Not callable from outside a unit test, Category: Toolkit—M Unit Utility, ICR#: N/A

Description

The CHKTF^XTMUNIT API runs a test that checks conditional values (True or False).

Format

  D CHKTF^XTMUNIT(val,msg)

Input Parameters

val:

(required) The conditional value to be tested.

msg:

(required) The error message to be generated if the result of the test is False (not equal).

Output

returns:

Returns:

  • A period or “dot”—If the result of the test is True.

  • An error message—If the result of the test is False.