ANA.SortResultsPack

<< Click to Display Table of Contents >>

Navigation:  3. Script Language > Image/Pixel-Color Operations > ANA. - Imageworks > Pattern-Recognition >

ANA.SortResultsPack

ANA.GetResult - Get Result on TOS

Previous Top Next


MiniRobotLanguage (MRL)

 

ANA.SortResultsPack

Sorts the Resultspack based on the specified parameter.

 

clip0573

 

Intention

 

The ANA.SortResultsPack command allows you to sort the Resultspack based on a specific parameter.

It takes one parameter, P1, which determines the sorting order.

By sorting the Resultspack, you can organize the results in either descending or ascending order, depending on your needs.

 

 

Syntax

 

ANA.SortResultsPack[|P1]

 

Parameter Explanation

 

P1 - Sort Order: 0 for descending sort, 1 for ascending sort.

 

About the P1 Parameter

 

The P1 parameter specifies the sorting order for the Resultspack. It controls whether the results will be sorted in descending or ascending order.

 

If P1 is set to 0, the Resultspack will be sorted in descending order.

This means that the highest values or the most relevant results will appear first in the sorted list.

 

If P1 is set to 1, the Resultspack will be sorted in ascending order.

This means that the lowest values or the least relevant results will appear first in the sorted list.

 

 

Example

 

'To sort the Resultspack in descending order, use the following command:

ANA.SortResultsPack|0

 

'To sort the Resultspack in ascending order, use the following command:

ANA.SortResultsPack|1

 

 

 

Remarks

 

-

 

 

 

Limitations:

 

-

 

 

See also:

 

    ANA_FindPattern