GetTestMax Procedure

Returns the value of the upper limit (MAX) allowed for the current MIN-MAX Test.

Syntax

[ dMax = ] GetTestMax( )

The GetTestMax procedure syntax has the following parts:

 

Name

Type

Description

dMax

Double

Current Test maximum

Comments

The MAX value is defined in the Task/Test Property page.

The function returns 0 if the current Test type is not MIN-MAX or TOLERANCE or PRECISE.

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

Example

! Set new MIN\MAX according to fOffset Variable

SetTestMin(fOffset+GetTestMin())

SetTestMax(fOffset+GetTestMax())

See Also

GetTestMin, SetTestMax, SetTestMin