On Thu, 24 Jul 2003, Serge Leger wrote: > The call to DefaultLocale should only occur when it is needed (ie: just > before actually validating the parameters). After having looked at where > BasicValidate and NewValidate are used, I have applied the following > changes to the new function:
Yep, that's the problem. > Not quite elegant, but the default value will be used every time new() > is called. I have not done extensive testing, I have just started using > the package yesterday and I'm not familiar with all of it's > functionality, but from what I can see everywhere else the BasicValidate > (or a "descendant") is used the default clause is deleted. I'll find a better way to do this. -dave /*======================= House Absolute Consulting www.houseabsolute.com =======================*/
