SetTestMask Procedure

Modifies the value of the mask used with the current Ref2 or RefX test.

Syntax

SetTestMask ( lMask )

The SetTestMask procedure syntax has the following parts:

 

Name

Type

Description

lMask

Val Long

New mask data

Comments

This subroutine may be used to modify the value of the mask as defined in the Task/Test Property page. The current test type should be Ref2 or RefX. Otherwise, the function is ignored.

The lMask represents 32 bits that should be compared (1) or ignored (0) when comparing the result of the Test (TestRefResult) to the reference value (GetTestRef).

The Mask value can be accessed/set via the internal variable Test and its property Mask as in Test.Mask.

Example

SetTestMask ( lNewMask)

See Also

AVarTest, GetTestMask, GetTestRef, SetTestRef