Page History
The following system variables allow you to query (and set) the current OpenInsight environment.
Variable | Description | ||||||||||||||||||||||||||||||||
@ADMIN | The level of the user currently logged on. There are 3 possible values:
| ||||||||||||||||||||||||||||||||
@APPID | The fully specified application inheritance chain (@FM-delimited) for the current application. The first name is always the current application, the last name is always SYSPROG, and any other applications inherited are in the middle. | ||||||||||||||||||||||||||||||||
@APPINFO | A field mark delimited array containing information about all applications in the system. In the SYSAPPS file is one row for each defined application. The information for the current application is copied into @APPINFO. The following fields are defined:
| ||||||||||||||||||||||||||||||||
@DBID | The name of the current database (same as @APPINFO<2>) | ||||||||||||||||||||||||||||||||
@ENVIRON_SET | Array of environmental settings for the current user. | ||||||||||||||||||||||||||||||||
@FILES.SYSTEM | Field mark delimited array of OpenInsight system files | ||||||||||||||||||||||||||||||||
@FILES_SYSDICT | The file variable for the SYSDICT file | ||||||||||||||||||||||||||||||||
@FILES_SYSENV | The file variable for the SYSENV file | ||||||||||||||||||||||||||||||||
@FILES_SYSOBJ | The file variable for the SYSOBJ file | ||||||||||||||||||||||||||||||||
@FILES_SYSPTRS | The file variable for the SYSPTRS file | ||||||||||||||||||||||||||||||||
@LOWER_CASE | An ordered string containing all lower-case letters. Corresponds to @UPPER_CASE. | ||||||||||||||||||||||||||||||||
@LPTRHIGH | Height of the printer page. | ||||||||||||||||||||||||||||||||
@LPTRWIDE | Width of the printer page. | ||||||||||||||||||||||||||||||||
@MDIACTIVE | The active child from which an event is invoked. An event is invoked from a frame and its active children. The value of @MDIACTIVE is dynamic. | ||||||||||||||||||||||||||||||||
@MDIFRAME | The frame of the window from which an event is called. The value of @MDIFRAME is dynamic. | ||||||||||||||||||||||||||||||||
@PRINTMODE | If this variable is set to false, the BASIC+ Print function will print the ASCII characters zero through 31 using their assigned graphics. If set to true, these characters are not printed, and are treated as control characters. | ||||||||||||||||||||||||||||||||
@STATION | The network station identifier (or null for non-networked versions). | ||||||||||||||||||||||||||||||||
@SYSTEM_TABLES | Contains a field mark delimited list of tables that cannot be detached. | ||||||||||||||||||||||||||||||||
@TABLES | Field mark delimited array of currently attached tables. | ||||||||||||||||||||||||||||||||
@UPPER_CASE | An ordered string containing all upper-case letters. Corresponds to @LOWER_CASE. | ||||||||||||||||||||||||||||||||
@USERNAME | The name under which the current user logged in. If no user name was specific at login, contains the current database identifier. | ||||||||||||||||||||||||||||||||
@VOLUMES | A dynamic array of attached volumes. When assigned from a Basic+ program, a field mark delimited array of filing systems in the format:
filing system*location
is returned. However, if viewed from the debugger System Variables window, @VOLUMES(n) contains the following:
|
| |||||||||||||||||||||||||||||||
@WINDOW | The window an event is called from. The value of @WINDOW is dynamic. |