Cnv_QueUserData Function

Returns the user data value associated with an item in a conveyor queue.

Syntax
Cnv_QueUserData (conveyorNumber [, index])

Parameters

conveyorNumber
Specify the conveyor number as an integer (1-16).
Index
Optional. Integer expression specifying the index of the item number in the queue.

Return Values
Real value.

Note


This command will only work if the Conveyor Tracking option is active.


See Also
Cnv_QueUserData

Cnv_QueUserData Function Example

' Add to queue
Cnv_QueAdd 1, Cnv_Point(1, x, y), angle

' Remove from queue
angle = Cnv_QueUserData(1)  ' default to queue index of 0
Jump Cnv_QueGet(1) :U(angle)
Cnv_QueRemove 1