Re: [Tutor] data validation logic

2011-04-17 Thread Dave Angel
On 01/-10/-28163 02:59 PM, Rance Hall wrote: Hey gang: I need some help trying to pythonize (sp?, if this is even a word?) an idea. I'd like to define a datavalidation function that returns true if data is valid, and false if it isn't. I need a way to store the pass fail values of each of th

Re: [Tutor] data validation logic

2011-04-16 Thread Alan Gauld
"Rance Hall" wrote I'd like to define a datavalidation function that returns true if data is valid, and false if it isn't. Here is the clincher. the logic of the data validator needs to be able to handle different types of data testing on request. This is a good candidate for a factory f

[Tutor] data validation logic

2011-04-16 Thread Rance Hall
Hey gang: I need some help trying to pythonize (sp?, if this is even a word?) an idea. I'd like to define a datavalidation function that returns true if data is valid, and false if it isn't. Here is the clincher. the logic of the data validator needs to be able to handle different types of dat