Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP and SQL at the same time
Message
From
16/01/2019 16:07:25
 
 
To
16/01/2019 14:25:08
Mike Yearwood
Toronto, Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012 R2
Network:
Windows Server 2012 R2
Database:
Visual FoxPro
Application:
Desktop
Virtual environment:
VMWare
Miscellaneous
Thread ID:
01664796
Message ID:
01665472
Views:
61
>Actually, having been exposed to too many people's "intuitive" - which I call arbitrary aggregations - I always struggle to remember what library the code is in, when I know exactly the name of the function. All I'm doing is operating with prgs exactly the way VFP's own native functions do.

You need to use a source code documenting tool, or write a simple one that'll take the various procedures / functions within each PRG and prepend them as comments at the top so you can see exactly what's in each file if you ever don't know. You can also aggregate that information into a single location which conveys it for you if you need. Or you can do what we often do, use a small prefix for the functions to indicate their source.

There are ways of addressing what you see of shortcomings without the need to have 300 separate PRG files sitting in a project file. I would actually consider that design to be a poor design.

I again reiterate to VFP developers in general ... having so many separate PRG files is insane for a developer. I cannot even imagine that people truly desire it. It's one of the most backwards ideas I've read about in VFP programming in my entire life. And yes I am serious.

FWIW, I used to write functions in separate PRG files. It was in the 1980s with Multi-user FoxBASE+ when I first came to XBASE. But once I discovered procedures and functions ... I never looked back. And never will. :-) Truly amazing to me that people would seriously advocate such a thing.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform