Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Size seems to matter
Message
From
15/03/2005 20:47:46
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
15/03/2005 20:35:17
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00996166
Message ID:
00996168
Views:
15
This message has been marked as the solution to the initial question of the thread.
>What is the maximum size allowable for a prg in VFP 8 SP1?

PRGs are not limited in size - unless you count the fact that in general, VFP can't handle files above 2 GB.

The limit is for individual procedures. According to the VFP 8 help file, the "Maximum size of compiled program modules" is 64 KB. That is to say, the source code might be larger, but the compiled version is limited to 64 KB; and this limit is for every procedure, so you may well have an FXP file with a TOTAL of more than 64 KB, but less than that for every procedure.

I heard that this limitation has been removed in VFP 9. In VFP 8, you can try to split a large procedure into several procedures if you get the corresponding error messages.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform