ox

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

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


      1 int integer(int a, i64 b, i64 c, i64 d, int e, int f, int g, int h, str words) {
      2     print(words);
      3     return a * b + c * d + e + f - g * h;
      4 }
      5 
      6 void main() {
      7     i64 a = 5;
      8     i64 d = 80000;
      9     print(integer(a, 12, 16, d, 4, 7, 10, 4, "this is a test"));
     10 }