Navigation:  Classes > bArrayServer >

bArrayServer:IndexOrd()

Print this Topic    Previous pageReturn to chapter overviewNext page

Purpose

Return the ordinal position of the controlling order within the list of open orders.

Class

bArrayServer

Type

Method

Syntax

<oArrayServer>:IndexOrd() Æ iPosition

Return Value

iPositionA 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.
Data Type:        Integer

Description

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.

See Also

bArrayServer:CreateOrder()

bArrayServer:SetOrder()

 


Page url: http://www.YOURSERVER.com/index.html?barrayserver_indexord.htm