Documentation menu

Standard Library

Files & System

New to coding?

Copy the examples exactly first. Run them. Then change one number or word and run them again. You are not expected to memorize the command lists.

1

File I/O

Try this code
read(path)             // whole file as a string
write(path, text)      // overwrite
append(path, text)
lines(path)             // as a list of lines
exists(path)
delete(path)
2

System

Try this code
time()           // unix timestamp
sleep(seconds)
env(name)         // environment variable, or none
args()            // CLI args passed after the script path