System¶
No import is needed.
Read the usage guide for examples and common tasks. This reference lists the public declarations for this part of the library. See Reading API signatures for parameter and result notation.
System¶
Process basics available without an import: stopping with panic and reading command-line arguments. import system; adds console I/O and the other process services.
panic¶
Stops execution and reports message.
args¶
Command-line arguments, excluding the executable path. Empty strings and embedded newlines are preserved. fun main(args: string[]) receives the same array.