namespace sys.core.lang
class System
A class representing system information and IO.
static def GetEnvVariable(var: String): String;
Returns and environment variable.
var | the name of the variable |
---|
the content of the variable as a string
static def AddArgument(arg: String);
Modifies the command line of the currently running application by adding an argument.
Reserved for system use.
arg | the argument to add |
---|
property CPU: ref SystemCPU; get;
The installed CPU information.
property Args: const ref Vector; get;
The current application command line stored as a vector.
val Debug;
Debug mode asserter and error reporter.
val Trace;
Trace mode asserter and error reporter.
val Out;
STDOUT stream.
val In;
STDIN stream.