Skip to content
Prev 20064 / 63424 Next

change function's formals default values

On Mon, 3 Apr 2006, Andrew Finley wrote:

            
<recoils in horror>

Are you *sure* you want to do this?  It seems that you should be able to 
use lexical scope to store this information in variables rather than 
default arguments and then you can use setVar to change the variables 
rather than changing the formals.

 	-thomas

Thomas Lumley			Assoc. Professor, Biostatistics
tlumley at u.washington.edu	University of Washington, Seattle