Returns the value of the mask used with the current Ref2 or RefX Test.
[ lMask = ] GetTestMask ( )
The GetTestMask procedure syntax has the following parts:
Name |
Type |
Description |
lMask |
Long |
Current Test mask value |
This function returns the mask of the current Ref2 or RefX Test as defined using the Task/Test Property page.
The function returns 0 if the current Test Type is not Ref2 or RefX.
The lMask represents 32 bits that should be compared (1), or ignored (0) when the result of the Test (TestRefResult) is compared 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.
!Prints a binary representation of the mask
Print Str(GetTestMask(), 2)