#include directive

#include reads an osq script from a file, executes it, and puts its output into the current script.

Examples

main.osq

#let x 10
#include "sub.osq"
main: ${x}

sub.osq

sub: ${x}
#let x ${x * 2}