1 of 5
http://msdn.microsoft.com/en-us/library/65zx7k19(v=vs.80).aspx
SYS( )
Return Value
Character
Remarks
Visual FoxPro SYS( ) functions return character values that contain useful system information.
The following table shows what each SYS( ) function returns:
Function
Information returned
SYS(0)
SYS(1)
SYS(2)
SYS(3)
SYS(5)
SYS(6)
SYS(7)
SYS(9)
SYS(10)
SYS(11)
SYS(12)
SYS(13)
Printer status.
SYS(14)
Index expression.
SYS(15)
Character translation.
SYS(16)
02/03/2014 2:38 PM
2 of 5
http://msdn.microsoft.com/en-us/library/65zx7k19(v=vs.80).aspx
SYS(17)
Processor in use.
SYS(18)
Current control.
SYS(20)
SYS(21)
SYS(22)
SYS(23)
SYS(24)
SYS(100)
Console setting.
Included for backward compatibility. Use SET("CONSOLE") instead.
SYS(101)
Device setting.
Included for backward compatibility. Use SET("DEVICE") instead.
SYS(102)
Printer setting.
Included for backward compatibility. Use SET("PRINTER") instead.
SYS(103)
Talk setting.
Included for backward compatibility. Use SET("TALK") instead.
SYS(602)
Bitmap Configuration.
SYS(987)
SYS(1001)
SYS(1011)
SYS(1016)
SYS(1023)
SYS(1024)
SYS(1037)
SYS(1104)
SYS(1269)
Property Information.
SYS(1270)
Object Location.
SYS(1271)
SYS(1272)
Object Hierarchy.
SYS(1500)
SYS(2000)
SYS(2001)
02/03/2014 2:38 PM
3 of 5
http://msdn.microsoft.com/en-us/library/65zx7k19(v=vs.80).aspx
SYS(2002)
SYS(2003)
Current directory.
SYS(2004)
SYS(2005)
SYS(2006)
SYS(2007)
Checksum value.
SYS(2010)
SYS(2011)
SYS(2012)
SYS(2013)
SYS(2014)
Minimum path.
SYS(2015)
SYS(2016)
SYS(2017)
Checksum value based on the current record in the current work area.
SYS(2018)
SYS(2019)
SYS(2020)
SYS(2021)
SYS(2022)
SYS(2023)
Temporary Path.
SYS(2024)
SYS(2029)
Table type.
SYS(2030)
Debug.
SYS(2040)
SYS(2060)
SYS(2300)
SYS(2325)
Returns the hWnd of a client window from the parent window's WHANDLE.
SYS(2326)
SYS(2327)
02/03/2014 2:38 PM
4 of 5
http://msdn.microsoft.com/en-us/library/65zx7k19(v=vs.80).aspx
SYS(2333)
SYS(2334)
SYS(2335)
SYS(2336)
SYS(2339)
SYS(2340)
NT Service Support.
SYS(2410)
SYS(2450)
SYS(2600)
SYS(2700)
SYS(2800)
Accessibility Support.
SYS(2801)
SYS(2910)
Sets or returns the number of items to display in drop down list boxes.
SYS(3004)
SYS(3005)
SYS(3006)
SYS(3007)
SYS(3008)
Hyperlink Tooltips.
SYS(3009)
SYS(3050)
SYS(3051)
SYS(3052)
SYS(3053)
SYS(3054)
SYS(3055)
SYS(3056)
SYS(3065)
SYS(3092)
SYS(3095)
IDispatch Pointer.
02/03/2014 2:38 PM
5 of 5
http://msdn.microsoft.com/en-us/library/65zx7k19(v=vs.80).aspx
SYS(3096)
SYS(3097)
SYS(3098)
SYS(3099)
SYS(3101)
See Also
Reference
Command Window (Visual FoxPro)
SET Command Overview
SET SYSFORMATS Command
SET SYSMENU Command
Other Resources
Functions
Community Additions
2014 Microsoft. All rights reserved.
02/03/2014 2:38 PM