Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Setting MVCOUNT on the fly.
Message
From
17/03/2005 16:09:33
 
 
To
17/03/2005 15:23:51
Scott Sherman
Puyallup Tribal Health Authority
Tacoma, Washington, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00997022
Message ID:
00997050
Views:
11
>Is there a way to set the memory variable limit for a program in code? I need to have access to 5012 memory variables for on part of a program that is ran twice a month but the rest is fine with 1024. Is the config.fpw that only way to increase the memory variable limit?
>
>Scott Sherman

For the program that is ran twice a month, create a special Config.FPW, and set its MVCount to 5012. Then when you start the program pass it a parameter of -CSpecialConfog.FPW.

As such

MyApp.exe -CSpecialConfig.fpw.

It will increase the variable limit for that run, while leaving the other runs normal.
Greg Reichert
Previous
Reply
Map
View

Click here to load this message in the networking platform