We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b21245 commit 00d0553Copy full SHA for 00d0553
src/Runtime/XSharp.VFP/SystemFunctions.prg
@@ -14,7 +14,7 @@ FUNCTION Sys(nSetting, uNewValue, uContextParam3) AS USUAL CLIPPER
14
SWITCH nSetting
15
16
CASE 0 // Network machine information.
17
- retVal := __GetEnv("USERDOMAIN") + " # " + __GetEnv("USERNAME")
+ retVal := __GetEnv("COMPUTERNAME") + " # " + __GetEnv("USERNAME")
18
19
CASE 1 // Returns the current system date as a Julian day number character string.
20
VAR currentDate := DateTime.Now
0 commit comments