Connection Objects
To use the DataBasic objects you must first initialise either:
-
A connection object that references a Language Server (for language objects)
-
A connection object — also known as a manager object — that references an Object Manager (for internal objects).
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()