Environment commands provide a means for a BASIC+ procedure to report on the environment within which it is being run, including time, date, and OpenInsight serial number.

Command

Description

Create_User routine

Creates a new user or modifies information about an existing user in the current database.

Date()

Returns the current date in internal format.

Delete_User routine

Removes a user from the current database. Only the administrative user can delete users.

Drive()

Returns the current operating system drive and path.

Flush statement

Forces the system to write all changed buffers to disk.

GarbageCollect statement

Frees unused string space.

Get_Env routine

Returns an attribute or list of attributes from the database environment for the current database.

Get_Status()

Returns error status information from a stored procedure. Use after calling any system stored procedure.

List_Users routine

Returns information about users in a specified database.

Save_Env routine

Saves the current environment settings.

Serial()

Returns the current OpenInsight serial number.

Set_Env routine

Defines the value of an environment attribute or list of attributes for the current database.

Set_Status()

Sets or clears error information.

Status()

Returns a number indicating the status or flag value of certain previously executed commands.

Time()

Returns the current time in internal format.

TimeDate()

Returns the current time and date in external format.

  • No labels