You may pass any number of extra parameters to a function, regardless of the prototyping. If you want to have some arguments passed by reference, looks like you have to include those in the function definition. Unfortunately that means optional arguments can now only be passed by value. You can pass a variable number of arguments to a function whilst keeping references intact by using an array. The arglist is zero-based.
Default arguments go here.
Modify some variables that were passed by reference. All rights reserved.