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.

SQLAllocEnv<br />

Syntax<br />

status = SQLAllocEnv (bci.env)<br />

Note: This function is case-sensitive. If you want it to be case-insensitive, you<br />

must compile your programs using the BASIC command with the -i option.<br />

Description<br />

SQLAllocEnv creates an environment in which to execute UniData BCI calls.<br />

Use this function to allocate memory for a UniData BCI environment. The function<br />

stores the address in the bci.env variable. SQLAllocEnv must be the first UniData<br />

BCI call issued in any application.<br />

You can allocate more than one UniData BCI environment.<br />

Note: Use the environment variable only in UniData BCI calls that require it. Using<br />

it in any other context causes a runtime error or breaks communication with the data<br />

source.<br />

Parameters<br />

The following table describes each parameter of the syntax.<br />

Parameter Description<br />

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

bci.env Variable that represents the allocated UniData BCI environment.<br />

SQLAllocEnv Parameters

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

Saved successfully!

Ooh no, something went wrong!