Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
FUNCTION...ENDFUNC in a class.
Message
 
 
To
13/04/1998 10:14:14
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00090807
Message ID:
00091613
Views:
17
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.

>Now, I would like to have this function handy to use. Should I create
>some kind of date class to contain this and other methods or just
>put in a procedure library? My inclination is to do the latter.
>
>Or looking at it from a different point of view: VFP has gazillions of functions. Is this a problem that they are not methods?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform