Built-in Functions
Matchbox 0.2 includes a small set of built-in functions. This page lists them by category and links to the detailed reference page for each function.
I/O
I/O functions allow a program to communicate with its environment.
printwrites an integer to standard output.
Math
Math functions provide common operations for integer values.
absreturns an integer's absolute value.clamprestricts an integer to a range.maxreturns the greater of two integers.minreturns the lesser of two integers.
Runtime
Runtime functions provide information about the environment in which a Matchbox program is executing.
byteorderreports the system's byte order.
System
System functions allow a Matchbox program to interact with the host system and control its process.
exitterminates the current program.