Anonymous user
Variadic function: Difference between revisions
m
→{{header|Metafont}}
Line 1,824:
Variable number of arguments to a macro can be done using the <tt>text</tt> keyword identifying the kind of argument to the macro. In this way, each argument can be of any kind (here, as example, I show all the primitive types that Metafont knows)
<lang metafont>
for x = t:
if unknown x: message "unknown value"
|