Return the ordinal position of the controlling order within the list of open orders.
<oArrayServer>:IndexOrd() Æ iPosition
|iPosition||A numeric value that indicates the ordinal position of the controlling order within the list of open orders. If no order is active, the value 0 is returned.|
In the bArrayServer several orders can be created and opened with the method bArrayServer:CreateOrder(). The method bArrayServer:SetOrder() can be used to specify which of the open orders is the controlling order. With the help of the method bArrayServer:IndexOrd() the controlling order can be determined at later time.
The controlling order specifies the logical order of records.