Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Object Oriented Programming
Message
 
To
19/09/1998 10:09:53
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00134380
Message ID:
00138648
Views:
16
>Most of the time I'm using FDoY() to create an initial value for a date box, true, but sometimes i need it (and NDoY() more often) in a completely non-visual calculation routine.

I wouldn't say that whether they're used in a visual or nonvisual context matters when it comes to deciding whether a group of related functions belong to a single class.

>Keeping it as UDF saves me the overhead of CreateObject()ing a DateBox, just to call its methods as UDFs.

"Premature optimization is the root of all evil." :) And I wasn't suggesting a (visual) DateBox class, but a nonvisual Date class.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform