Group Process Info / Environment
CurDir()
Determines or changes the current directory of a drive.
CurDir( [<cDrive>] ) --> cCurrentDirectory or CurDir( <cDirectory> ) --> cPreviousDirectory
CurDrive()
Determines or changes the current drive.
CurDrive( [<cDrive>] ) --> cOldDrive
DiskSpace()
Determines the storage space available on a drive.
DiskSpace( [<cDrive>] ) --> nBytes
ErrorLevel()
Sets the return code for an Xbase++ application.
ErrorLevel( [<nReturnCode>] ) --> nLastReturnCode
Getenv()
Retrieves the contents of an operating system environment variable.
Getenv( <cSetVar> ) --> cString
GetLogicalProcessorCount()
Query the number of available logical processors on the machine
GetLogicalProcessorCount() --> nLogicalProcessor
Memory()
Retrieves statistics about available memory.
Memory( <nMemoryID> ) --> nAvailableMemory
Os()
Returns the name of the operating system.
Os([<nOsId>]) --> cOsInfo
Setenv()
Sets the contents of an operating system environment variable.
Setenv( <cSetVar>, <cValue> ) --> lSuccess
SetLogicalProcessor()
Assign the process to a logical processor unit.
SetLogicalProcessor( [<nLogicalProcessor>] ) --> nOldLogicalProcessor
Version()
Determines the Xbase++ version
Version( [<nInfo>] ) --> cVersionInfo