AC10SortDwAr

A = Array

C = Calculation functions

The AC10SortDwAr function execute a descending sort of the elements of an array (the largest value to the smallest value), signaling the completion of the operation.

IMPLEMENTATION

AC10SortDwAr (array, done)

Parameters:

IN/OUTVARIABLE TYPEEXAMPLE NAMEDIM
IN ARRSYS array B/W
L/S
Array give ordinary
OUT GLOBAL done F Flag that indicates that the operation was executed

Example

Execute the sorting when this flag “gfOrdina” is set to 1.

IF gfOrdina
	gfOrdina = 0
        AC10SortDwAr (array, done)
ENDIF

Note