Syntax
Public Function OrderType() As Integer
Description
This function is used to return the order type for selected order as ENUM_ORDER_TYPE
Parameter
No Parameters.
Return value
Returns an integer value of typeENUM_ORDER_TYPE.If -1 is returned, then call GetLastError() function to get error.
Sample
Public Sub main () Dim Order Order = OrderGetID (1) OrderSelect (Clng (Order))Returns True if order selected successfully AlertMessage OrderType () returns Symbol name for selected order End sub
See Also