Last modified 5 years ago
System methods
Note: each method is preceded with "system", as these methods are static. For instance, system|exit(0).
- exit(value): exits with return code value (or 0 if not provided)
- path(newpath): returns the list containing every item in the current system path, or set the current system path to the provided list.
- getenv(name): retrieves the environment variable given by name
- setenv(name, value): sets the environment variable given by name to the string value of value
Constants
- in: the file object corresponding to standard input
- out: the file object corresponding to standard output
- err: the file object corresponding to standard error
