Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
FUNCTION...ENDFUNC in a class.
Message
De
13/04/1998 20:37:54
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00090807
Message ID:
00091648
Vues:
45
>Peter,
>
>FWIW, I still use maybe 20 UDFs in my development. I don't think making them a method of some object makes them any more accessible, in fact it tends to hinder their use because you have to instantiate the ProcedureObject. I also don't use a monolithic procedure library. Each udf lives in it's own file, the filename matches the UDF name so you never have to SET PROC anywhere, you can just use them like builtin VFP functions.


Thanks for the input, David.

Is there any kind of speed penalty for keeping each UDF in a separate file?

(I may have subconscious fears of this approach becuase of dBase II and III where the access time to a separate file was attrocious! :)

Peter
Peter Robinson ** Rodes Design ** Virginia
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform