This is an old revision of the document!
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/OUT | VARIABLE TYPE | EXAMPLE NAME | DIM | |
---|---|---|---|---|
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
-
The function executes a WAIT a time every 180 milliseconds.