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, int b, int c, int d, int e, int f, int g, int h, string words) {
      2     print(words);
      3     return a * b + c * d + e + f - g * h;
      4 }
      5 
      6 
      7 void main() {
      8     int a = 5;
      9     int d = 8;
     10     print(integer(a, 12, 16, d, 4, 7, 10, 4, "this is a test"));
     11 }