System
The System class provides static functions to interact with the system.
Static Functions
Terminates the program with a given exit code.
System's exit 0A function that throws a runtime error if the condition is false.
let name be "Alice"
System's assert name != "Bob"Runs a shell command and returns an object with an output and an error.
let result be System's shell "ls"
if result's output is not equal to blank do
print result's output
otherwise
print "error: {result's error}"Pauses execution of the program by a set amount of milliseconds
System's sleep 5000Returns the number of nanoseconds since 1st January, 1970, 00:00:00 UTC.
let now be System's get_epoch_nanoseconds
print "The current time is {now}"print "hello world"