whichInfo | Value | System(whichInfo) returns: |
_lastCurs | 0 | "CURS" resource ID number of the current cursor (if it is a resource). |
_aplVol | 1 | A working directory reference number for the folder that contains the application file. This is useful in case you want to read or write files in the same folder as the application. |
_sysVol | 2 | A working directory reference number for the System folder. (Note: to access special folders within the System folder, the preferred method is to use the Toolbox function FindFolder.) |
_macPlus | 3 | System(_macPlus) always returns 0. This is retained for compatibility with older versions of FutureBasic. |
_aplRes | 4 | Reference number for the Application file's resource fork (which is always open while your application is running). |
_memAvail | 5 | Number of free bytes currently available in the application's heap. Returns the same value as Mem(_freeBytes). |
_scrnWidth | 6 | The width of the main monitor, in pixels. |
_scrnHeight | 7 | The height of the main monitor, in pixels. |
_sysVers | 8 | An integer representing the current System version number. For example, 761 represents version 7.6.1. |
_aplActive | 9 | Returns a positive value if the application is the currently active (foreground) process. Returns a negative value if the application is currently in the background. Note that FutureBasic3 also generates a dialog event every time your application is moved to the foreground or to the background (see the Dialog function). |
_maxColors | 10 | Maximum color bit-depth available on the main monitor. Use the expression (2 ^ System(_maxColors)) to get the actual number of available colors. |
_crntDepth | 11 | Current color bit depth on the main monitor. Use the expression (2 ^ System(_crntDepth)) to get the actual number of available colors. |
_cpuType | 12 | A code indicating the machine's CPU type, for 68k CPU's. Return values: _env68000 (1); _env68010 (2); _env68020 (3); _env68030 (4); _env68040 (5). Note: this value is unreliable for PPC CPU's: to determine |
_machType | 13 | A code indicating the machine type. Use machName$ = Str#(-16395, System(_machType)) to determine the machine's name. |
_aplFlag | 14 | System(_aplFlag) returns _false if the project was run and _zTrue if the project was built. |
_cpuSpeed (PPC only) | 15 | System(_cpuSpeed) returns the current clock speed (in megahertz) of the microprocessor. |
_clockSpeed (PPC only) | 16 | System(_clockSpeed) returns the Gestalt clock speed (in megahertz) of the microprocessor. |
_lastCursType (Appearance Manager) | 17 | This function may return 0 (plain), _themeCursorStatic or _themeCursorAnimate. |
_aplvRefNum (Appearance Manager) | 18 | This is the volume reference number of the running application. |
_aplparID (Appearance Manager) | 19 | This is the volume parent ID number of the running application. |