Matchbox 0.2

Input and Output

Output

Use print to write one integer followed by a line break to standard output:

var answer = 42
print(answer)

Matchbox 0.2 does not provide file output or a separate standard error API for programs.

Input

Matchbox 0.2 does not provide an API for programs to read standard input, files, environment variables, or command-line arguments.

Arguments described in Command Line configure the Matchbox executable itself; they are not passed to the running .mb program.