SYS(0) - Network Machine Information

SYS(0) returns network machine information when using Visual FoxPro in a network environment.

SYS(0)

Return Values

Character

Remarks

Machine information must first be assigned by the network software and the network shell must be loaded.

If machine information has not been assigned or the network shell hasn't been loaded, SYS(0) returns a character string consisting of 15 spaces, a number sign (#) followed by another space, and then 0. Consult your network documentation for further information on defining machine information.

SYS(0) returns 1 when using Visual FoxPro in a stand-alone environment.

SYS(0) returns the machine name and user name.

See Also

SYS( ) Functions Overview | ID( ) - Network Machine Information | Considering Hardware, Memory, and Network Issues