[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: undefined keyword variables
davidf@dfanning.com (David Fanning) writes:
>
> I think it is not only feasible, but required, that you
> provide default values for *any* variable you plan
> to use in the code. Certainly if I were planning to
> use the POSITION keyword I would have something like this:
>
By the way David, I agree with you. In *almost* all circumstances,
keyword parameters should be given appropriate default values which
should be *documented*.
Craig
--
--------------------------------------------------------------------------
Craig B. Markwardt, Ph.D. EMAIL: craigmnet@cow.physics.wisc.edu
Astrophysics, IDL, Finance, Derivatives | Remove "net" for better response
--------------------------------------------------------------------------