Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Prgs vs Methods
Message
 
To
14/01/1999 19:40:14
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Title:
Miscellaneous
Thread ID:
00176041
Message ID:
00176381
Views:
45
>>I have heard that argument, but, interestingly, no one who made it ever gave me a situation where it was true. The only time I have found it helpful to use a proc is when the routine is simply an extension of the language.
>
>
>Jim,
>
>What do you mean when you say, * an extension of the language? *
>

Renoir,

I mean a fucntion that is non-specific and that I would someday think may be added to the VFP language. For example; I often need to calculate the last or first day of a month. I have UDF's for those things. It just didn't make sense to me to create a dateManipulation class to hold those operations. They both simply take a date as an argument and return a single number as a result.
Previous
Reply
Map
View

Click here to load this message in the networking platform