ox

The Ox programming language, compiler and tools (WIP)
Log | Files | Refs | README | LICENSE

ex-call-many-args.ox (259B)



int integer(int a, i64 b, i64 c, i64 d, int e, int f, int g, int h, str words) {
    print(words);
    return a * b + c * d + e + f - g * h;
}

void main() {
    i64 a = 5;
    i64 d = 80000;
    print(integer(a, 12, 16, d, 4, 7, 10, 4, "this is a test"));
}