Environment

Represents the current process (instance of the virtual machine).

By: Gavin, Tako
See also `language`, `runtime`, `system`, `operatingSystem`

- `Anything`
  - `Object`
    - `Basic` ...and other supertypes
      - `process`

- `process`
  - `Basic`
    - `Identifiable`
    - `Object`
      - `Anything`

no subtypes hierarchy

Attributes
`arguments` | Source Code `shared String[] arguments` The command line arguments to the virtual machine.
`string` | Source Code `shared actual String string` A developer-friendly string representing the instance. Concatenates the name of the concrete class of the instance with the `hash` of the instance. Subclasses are encouraged to refine this implementation to produce a more meaningful representation. Refines `Object.string`

Inherited Attributes
Attributes inherited from: `Object` `hash`, `string`

Methods
`environmentVariableValue` | Source Code `shared String? environmentVariableValue(String name)` The value of the given environment variable defined for the current virtual machine process. Since 1.2.0
`exit` | Source Code `shared Nothing exit(Integer code)` Force the virtual machine to terminate with the given exit code.
`flush` | Source Code `shared void flush()` Flush the standard output of the virtual machine process.
`flushError` | Source Code `shared void flushError()` Flush the standard error of the virtual machine process.
`namedArgumentPresent` | Source Code `shared Boolean namedArgumentPresent(String name)` Determine if an argument of form `-name` or `--name` was specified among the command line arguments to the virtual machine.
`namedArgumentValue` | Source Code `shared String? namedArgumentValue(String name)` The value of the first argument of form `-name=value`, `--name=value`, or `-name value` specified among the command line arguments to the virtual machine, if any.
`propertyValue` | Source Code `shared String? propertyValue(String name)` The value of the given system property of the virtual machine, if any.
`readLine` | Source Code `shared String? readLine()` Read a line of input text from the standard input of the virtual machine process. Returns a line of text after removal of line-termination characters, or `null` to indicate the standard input has been closed.
`write` | Source Code `shared void write(String string)` Print a string to the standard output of the virtual machine process.
`writeError` | Source Code `shared void writeError(String string)` Print a string to the standard error of the virtual machine process.
`writeErrorLine` | Source Code `shared void writeErrorLine(String line = "")` Print a line to the standard error of the virtual machine process. Parameters: `line = ""`
`writeLine` | Source Code `shared void writeLine(String line = "")` Print a line to the standard output of the virtual machine process. Parameters: `line = ""` See also `print()`

Inherited Methods
Methods inherited from: `Object` `equals()`