Syntax
Public Function OrderPrice() As Double
Description
This function is used to return the open price for selected order as a value of double.
Parameter
No parameters.
Return value
Returns price as a double value, 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 OrderPrice() returns the price for selected order End sub
See Also