Variadic functions

A function whoses arity is not fixed.

Well, a function that takes a fixed number of arguments, and additionnal ones.

a simple example

fun void variadic_test(int i, ...) {
  <<<  "first argument is ", i  >>>;
  varloop vararg {
    <<<  "\tadditionnal argument", vararg $ int  >>>;
variadic_test(1, 2);
variadic_test(1, 2, 3);
built with mdr and mdBook
You'll find the source here, Luke! note: privacy guards may interfere with the playground