GetTestRef Procedure

Returns the required value (reference) for the current Ref2 or RefX Test.

Syntax

[ lRef = ] GetTestRef ( )

The GetTestRef procedure syntax has the following parts:

 

Name

Type

Description

lRef

Long

Test reference value

Comments

This function returns the reference value of the current Ref2 or RefX Test as defined in the Task/Test Property page.

The function returns 0 if the current Test Type is not Ref2 and not RefX.

The reference value can be accessed or set via Test, the internal variable, with its property Ref as Test.Ref.

Example

Print Str(GetTestRef(), 16) !Prints the reference in hex format

See Also

ATest, ATestRef, ATestRef2, GetTestMask, SetTestMask, SetTestRef