
less than 1 minute to read
Returns a Windows Environment Variable. Unlike GETENV()
it can return strings larger than 255 characters (specifically the Windows path!)
foxpro
lcPath = WinApi_GetEnvironmentVariable("PATH")
Note: This is a static function not a class method
WinApi_GetEnvironmentVariable(lcVar)
Return Value
Result from env call or "" if the var doesn't exist or is empty.
Parameters
lcVar
Environment Variable
See also:
Class wwAPI© West Wind Technologies, 1996-2024 • Updated: 11/13/18
Comment or report problem with topic