'void' arguments (Yet Another Feature Proposal)

Wolfram Roesler wolfram at ikki.informatik.rwth-aachen.de
Sat Feb 9 02:42:18 AEST 1991


>How about making it a variable argument list function and calling
>it with 
>           SetThisMode(<xyz>);
>or
>           SetThisMode(<abc>,i,j,k);
>???

It's not even necessary to write SetThisMode() to work with a
variable arg list. If it doesnt bother about the last args in case
the first arg is <xyz>, you could simply call it with only one arg.
This will of cource annoy Lint and anybody reading your program,
but it will work.



More information about the Comp.lang.c mailing list