guides:programming:programmers_reference_manual:environment_commands

Environment Commands

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.

CommandDescription
Create_User routineCreates a new user or modifies information about an existing user in the current database.
Date()Returns the current date in internal format.
Delete_User routineRemoves a user from the current database. Only the administrative user can delete users.
Drive()Returns the current operating system drive and path.
Flush statementForces the system to write all changed buffers to disk.
GarbageCollect statementFrees unused string space.
Get_Env routineReturns 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 routineReturns information about users in a specified database.
Save_Env routineSaves the current environment settings.
Serial()Returns the current OpenInsight serial number.
Set_Env routineDefines 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.
  • guides/programming/programmers_reference_manual/environment_commands.txt
  • Last modified: 2024/06/19 20:20
  • by 127.0.0.1