WorkQue_Sort Function

Returns the Sort method of the specified work queue.

Syntax
WorkQue_Sort (WorkQueNum)

Parameters

WorkQueNum
Specifies the work queue number as an integer (1-16).

Return Values
An integer expression representing the Sort method set to the work queue.

  • 0 = No sorting (registration order to work queue)
  • 1 = X coordinate ascending order
  • 2 = X coordinate descending order
  • 3 = Y coordinate ascending order
  • 4 = Y coordinate descending order
  • 5 = User data (real value) ascending order
  • 6 = User data (real value) descending order

See Also
WorkQue_Add, WorkQue_Sort, WorkQue_UserData

WorkQue_Sort Function Example

Integer quesort

quesort = WorkQue_Sort(1)