DBfirstSymbolElementOfObject

Top  Previous  Next

The first symbol of an object.

To the trading of an object the first available symbol is determined. His Trading is returned. If none such exists or if a mistake has appeared, ZERO is returned. Then the real information becomes with DBreturnSymbolSettings got from the data bank.

Parametre

object (POBJECT) [IN]

The first symbol is delivered by this object. If the object has no symbol so ZERO is delivered.

Result

(PSYMBOL_ELEMENT) [OUT]

As a result this procedure delivers the trading of the first symbol which exists in this object. If no symbol exists in the object, ZERO is delivered.

Declaration

#include "database.h"

 

PSYMBOL_ELEMENT DLLENTRY DBfirstSymbolElementOfObject (

POBJECT object

);

Related function

DBnextSymbolElementOfObject