>I'm wondering what the pros/cons are in using Proc files for UDF's vs. creating Proc Classes to implement UDF's. I've grown accustomed to seeing most VFP developers use Proc files, but in an effort to try to be more 'object' minded I'm wondering if creating proc classes would do the job (perhaps better)? Any insight would be appreciated. Thanks in advance.
Performance-wise you may gain by using the Class approach, but not much. I've found it simpler to use a proc file for anything used by more than one form because it's easier to handle when testing forms from the command line - you don't have to keep your oApp object (or proc object or wherever they're stored) instanciated.
Of course you could drop each proc-class into the forms as needed, but in this case I find it adds to the overhead unnecessarily.
Any code that's used by a single form is automatically placed in a form method, though - keeps the system 'neater'.
JMHO
Barbara