Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
FUNCTION...ENDFUNC in a class.
Message
From
13/04/1998 20:37:54
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00090807
Message ID:
00091648
Views:
44
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform