Array.Min(Variable) Method

Top 

Description

Returns the minimum value in the array and stores its position in the passed 'index' argument.

 

Timing Precision Mode

This page describes functionality in millisecond timing precision mode. Millisecond timing precision mode is deprecated and will be removed in a future release. We recommend that you migrate your Mission Plans to nanosecond timing precision mode.

Click here to see the documentation for this object in nanosecond timing precision mode.

 

Method Signature

Array.Min(

Variable index)

 

 

Arguments

index


Description:

The index of the minimum element will be stored here. If there are multiple minimum entries, the first entry found will be returned.

 

 

 

Return Value

Type:

number

 

 

Returns the minimum value in the array.

 

Syntax

myVariable1 = myArray1.Min(myVariable2);

 

 

See also

Array Object

Array.Min

Matrix, Array, and Variable Math Guide