>I still have UDFs in my apps I don't believe in making something a method just so I can o.DoSomething(). I do not have a SET PROCEDURE file though that holds a whole boatload of functions either. Each one is it's own seperate .prg I have about a dozen of them.
I just grouped all the unrelated stuff into a custom object I call oUtilities
which is added at run time to the Application object
thus I have calls like loApp.oUtil.BreakList() etc.
the main reason I do this is for consistency with the rest of the app
btw, you can also store general methods in the DBC as long as a DBC is active you can direclt call any methods in it
Arnon
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement