====== 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. ^Command^Description^ |[[create_user|Create_User routine]]|Creates a new user or modifies information about an existing user in the current database.| |[[date|Date()]]|Returns the current date in internal format.| |[[delete_user|Delete_User routine]]|Removes a user from the current database. Only the administrative user can delete users.| |[[drive|Drive()]]|Returns the current operating system drive and path.| |[[flush|Flush statement]]|Forces the system to write all changed buffers to disk.| |[[garbagecollect|GarbageCollect statement]]|Frees unused string space.| |[[get_env|Get_Env routine]]|Returns an attribute or list of attributes from the database environment for the current database.| |[[get_status|Get_Status()]]|Returns error status information from a stored procedure. Use after calling any system stored procedure.| |[[list_users|List_Users routine]]|Returns information about users in a specified database.| |[[save_env|Save_Env routine]]|Saves the current environment settings.| |[[serial|Serial()]]|Returns the current OpenInsight serial number.| |[[set_env|Set_Env routine]]|Defines the value of an environment attribute or list of attributes for the current database.| |[[set_status|Set_Status()]]|Sets or clears error information.| |[[status|Status()]]|Returns a number indicating the status or flag value of certain previously executed commands.| |[[time|Time()]]|Returns the current time in internal format.| |[[timedate|TimeDate()]]|Returns the current time and date in external format.|