11.04.2013 Views

UniBasic Commands Reference - Rocket Software

UniBasic Commands Reference - Rocket Software

UniBasic Commands Reference - Rocket Software

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

EDADRV_LoadSymbols<br />

Syntax<br />

RETCODE EDA_LoadSymbols(numsymbols, symbols)<br />

Description<br />

The EDADRV_LoadSymbols function loads other functions to the EDA Driver<br />

Symbol array. This is the first function EDA calls.<br />

The EDA Driver Symbol array is an array of structures of the type<br />

EDA_T_SYMBOL. It contains pointers to all other driver functions as array<br />

elements.<br />

EDADRV_LoadSymbols allocates memory for the Driver Symbol array, fills in the<br />

array with either pointers to other driver functions or constants according to the<br />

following template.<br />

1-242 <strong>UniBasic</strong> <strong>Commands</strong> <strong>Reference</strong><br />

Array<br />

Index Array Element Value Description<br />

0 EDASYM_DBTYPE The driver’s data model. At this<br />

release, UniData only supports<br />

EDA_1NF.<br />

1 EDASYM_DBFAMILY The name of the driver database, such<br />

as DBMS_DB2,<br />

DBMS_MSSQLSERVER,<br />

DBMS_OTHERS.<br />

2 EDASYM_VERSION The version of this driver. This is for<br />

information purposes only, EDA does<br />

not use this value.<br />

3 EDASYM_CONNECT The pointer to EDADRV_Connect.<br />

4 EDASYM_DISCONNECT The pointer to<br />

EDADRV_Disconnect.<br />

Driver Functions

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!