AC10SortUpAr

A = Array

C = Calculate functions

The AC10SortUpAr function executes a sort on the elements of an array in ascending order (that is, from the smallest to the largest value), signaling the completion of the operation.

IMPLEMENTATION

AC10SortUpAr (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 performed

Example

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

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

Note