Condividi tramite


SYS( ) Functions Overview

Returns Microsoft Visual FoxPro system information.

SYS( )

Return Values

Character

Remarks

Visual FoxPro SYS( ) functions return character values that contain useful system information.

To get help for a SYS( ) function

  • Highlight the SYS( ) function in the Command window or in a program and press the F1 key.

The following table shows what each SYS( ) function returns:

Function Information returned
SYS(0) Network machine information
SYS(1) Julian system date
SYS(2) Seconds since midnight
SYS(3) Legal file name
SYS(5) Default drive or volume
SYS(6) Current printer device
SYS(7) Current format file
SYS(9) Visual FoxPro serial number
SYS(10) String from Julian day number
SYS(11) Julian day number
SYS(12) Available memory in bytes
SYS(13) Printer status
SYS(14) Index expression
SYS(15) Character translation
SYS(16) Executing program file name
SYS(17) Processor in use
SYS(18) Current control
SYS(20) Transform German text
SYS(21) Controlling index number
SYS(22) Controlling tag or index name
SYS(23) FoxPro EMS memory usage
SYS(24) EMS memory limit
SYS(100) Console setting
SYS(101) Device setting
SYS(102) Printer setting
SYS(103) Talk setting
SYS(602) Bitmap Configuration
SYS(1001) Visual FoxPro memory
SYS(1011) Number of Memory Handles
SYS(1016) User object memory use
SYS(1023) Enable Help diagnostic mode.
SYS(1024) Disable Help diagnostic mode
SYS(1037) Page Setup Dialog Box
SYS(1104) Purge Cached Memory
SYS(1269) Property Information
SYS(1270) Object Location
SYS(1271) Object's .scx File
SYS(1272) Object Hierarchy
SYS(1500) Activate a menu item
SYS(2000) File name wildcard match
SYS(2001) SET command status
SYS(2002) Turn insertion point on or off
SYS(2003) Current directory
SYS(2004) Visual FoxPro start directory
SYS(2005) Current resource file
SYS(2006) Current graphics card
SYS(2007) Check sum value
SYS(2010) CONFIG.SYS file settings
SYS(2011) Current lock status
SYS(2012) Memo field block size
SYS(2013) System menu name string
SYS(2014) Minimum path
SYS(2015) Unique procedure name
SYS(2016) SHOW GETS WINDOW name
SYS(2017) Display sign-on screen
SYS(2018) Error message parameter
SYS(2019) Configuration file name and location
SYS(2020) Default disk size
SYS(2021) Filtered index expression
SYS(2022) Disk cluster (block) size
SYS(2023) Temporary Path
SYS(2029) Table type
SYS(2030) Debug
SYS(2300) Add or Remove Code Page
SYS(2333) ActiveX Dual Interface Support
SYS(2334) Automation Server Invocation Mode
SYS(2335) Unattended Server Mode
SYS(2336) Critical Section Support
SYS(2339) Call CoFreeUnusedLibraries when COM object is released
SYS(2340) NT Service Support
SYS(2600) Return Pointer As String
SYS(2800) Accessibility Support
SYS(2801) Event Tracking Support
SYS(3004) Return Locale ID
SYS(3005) Set Locale ID
SYS(3006) Set Language and Locale IDs
SYS(3050) Set Buffer Memory Size
SYS(3051) Set Lock Retry Interval
SYS(3052) Override SET REPROCESS Locking
SYS(3053) ODBC Environment Handle
SYS(3054) Rushmore Optimization Level
SYS(3055) FOR and WHERE Clause Complexity
SYS(3056) Read Registry Settings
SYS(3095) IDispatch Pointer
SYS(3096) IDispatch Object Reference
SYS(3097) Add Reference to Object
SYS(3098) Release Object Reference
SYS(4204) Active Document Debugging Support

See Also

Command Window | SET Command | SET SYSFORMATS Command | SET SYSMENU Command