Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Prgs vs Methods
Message
From
16/01/1999 21:41:55
 
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Title:
Miscellaneous
Thread ID:
00176041
Message ID:
00176954
Views:
37
>
>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, I agree with your "extension of the language" case (wrote a "first of the month" function just a few days ago), and would like to suggest another. In my reservation system I pre-build dummy reservation records for every possible combination of calendar weeks and available units. I have a stand-alone program which will search the reservation file for any missing combinations and create them as needed. Thus when a new year is added or new units are added, this must be run afterwards. On my calendar screen and my units screen there is a button labeled "create dummy res". The button simply calls the batch routine.

I'm not excluding MKDUMRES.PRG from the EXE but I don't think that effects the argument.

Peter Robinson
Peter Robinson ** Rodes Design ** Virginia
Previous
Reply
Map
View

Click here to load this message in the networking platform