DataBasic Reference > Statements and Intrinsic Functions > Special Methods > %Admin

Comment on this topic

Documentation Comments

Use this form to comment on this topic. You can also provide any general observations about the Online Documentation, or request that additional information be added in a future release.

RealityV15.1Online Documentation (MoTW) Revision 7

%Admin Special Method (databasic_sp_method_admin.htm)

To

Reality

Version

Topic

Submitted by

Company

Location

Email address

Comment

 

 

%Admin Special Method

This method is used to find information about an object. %Admin can be used with a connection object or a language object.

Syntax

%ADMIN(keyword)

Syntax Elements

keyword Is case insensitive and selects a required operation:
 
GetError When used with a connection object, returns the last error string generated by the language server.
GetErrNum When used with a connection object, returns the last error number generated by the language server.
GetMethods When used with a language object, returns a list of methods available on the object.

Examples

Var = %Admin(GetError)

Get the last error message returned by the default connection.

Var = SecondCon->%Admin(GetError)

Get the last error message returned by the connection SecondCon.

List = Obj->%Admin(GetMethods)

Get a new line-separated list of methods.

See Also

Special Methods

RealityV15.1 (MoTW) Revision 7Comment on this topic