Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Proper technique for Functions/Procedures
Message
From
27/04/1998 10:51:06
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00095133
Message ID:
00095148
Views:
21
>I used to define functions and procedures in my SCAFFOLD.PRG in the pre-VFP5 days. If I were to take oo programming seriously, what would be the proper way to deal with such things nowadays? What are the advantages and pitfalls?
>
>TIA
I think old SCAFFOLD.PRG could be replaced with a custom class ie: globals. Advantage would be you could drag&drop it on a form (or include in base form, formset class). And another advantage, keeping groups of functions in different class libraries (ie: array functions in arrays.vcx). Pitfall might be addressing the correct function/proc (ie: do mypathseparator would change to something like thisform.globals1.mypathseparator()).
cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform