Skip to main content
Version: Next

OBJECT GET MAXIMUM VALUE

OBJECT GET MAXIMUM VALUE ( {* ;} object ; maxValue )

ParameterTypeDescription
*OperatorIf specified, object is an object name (string)
If omitted, object is a field or variable
objectanyObject name (if * is specified) or
Field or variable (if * is omitted)
maxValueDate, Time, NumberCurrent maximum value for object

This command is not thread-safe, it cannot be used in preemptive code.

Description

The OBJECT GET MAXIMUM VALUE command returns, in the maxValue variable, the current maximum value of the object(s) designated by the object and * parameters.

You can set the "Maximum Value" property using the Property List in Design mode, or using the OBJECT SET MAXIMUM VALUE command.

Passing the optional * parameter indicates that the object parameter is an object name (string). If you do not pass this parameter, it indicates that the object parameter is a field or variable. In this case, you pass a field or variable reference instead of a string (field or variable object only).

See also

OBJECT GET MINIMUM VALUE
OBJECT SET MAXIMUM VALUE