Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP and SQL at the same time
Message
From
15/01/2019 06:43:01
 
 
To
14/01/2019 18:32:46
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:
01665421
Views:
69
>VFP traverses each file it stores individually when searching for the function. It searches by name, then by the procedures within. It would not surprise me to learn that VFP actually compiles .PRG files written like this:
>
>
* myprog.prg
>&& real program content here
>
>As though they were written like this:
>
* myprog.prg
>
>FUNCTION myprog
>&& real program content here
>

That would surprise me greatly. For many versions, having the first line in a PRG be PROC or FUNC produced a significant speed penalty. They fixed that in VFP6 SP3, but that certainly suggests the header wasn't added in compilation.


Tamar
Previous
Reply
Map
View

Click here to load this message in the networking platform