Methods | |
String | getenv (String environmentVariable) |
void | print (String expression) |
void | println (String expression) |
void | setenv (String environmentVariable, String value) |
The DzSystem object provides functions to access and manipulate environment variables. It is accessible via the System global variable.
void DzSystem::print | ( | String | expression | ) |
Prints the expression to the console (stdout).
expression | The expression to be printed - the argument will automatically be converted to a string (via toString() if necessary. |
void DzSystem::println | ( | String | expression | ) |
Prints the expression to the console (stdout), followed by a newline.
expression | The expression to be printed - the argument will automatically be converted to a string (via toString() if necessary. |
Sets the value of an environment variable. If environment variable does not exist it is created. The environment is only changed within the context of the script process, for the duration of said process.
environmentVariable | The environment variable to set the value of | |
value | The new value of the environment variable. |