Connection Objects

To use the DataBasic objects you must first initialise either:

The first connection object you initialise automatically becomes the default connection object. Many special methods such as %New automatically assume the default object; if a different object is intended, it must be explicitly named.

Syntax

connection = %Connect([JAVA  DOTNET]{, port{, system{, timeout}}})

connection = %ObjMgr()

See the syntax descriptions of the %Connect and %ObjMgr special methods for details.

Examples

JavaLS = %Connect(JAVA)

DotNetLS = %Connect(DOTNET, 3091, "localhost")

ObjManager = %ObjMgr()