Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Memory Variables
Message
From
18/10/2003 12:32:26
Fred Wood
Madera Systems Consulting
Mill Valley, California, United States
 
 
To
17/10/2003 11:53:48
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00839584
Message ID:
00840019
Views:
19
Greg,

The reason there are so many variables involved is because I am attempting to run part of a fairly complicated VFP-based accounting program (the part which ships orders, creates invoices, and updates inventory) from an external VFP application which allows you to schedule programs to be run automatically on what ever time schedule you set up.

In order to execute the "shipping" program, I have to create the same environment as if it was being run from the accounting program itself and I am using startup procedures from the accounting program to create that environment. These procedures initiate global variables and arrays the shipping program expects.

By using RELEASE ALL or CLEAR I was trying to clean up VFP memory before returning to the scheduling program and avoid the Too Many Variables error the next time my "shipping" program runs.

My main question is why doesn't RELEASE ALL EXTENDED reset memory so that it can start over each time with out eventually getting a Too Many Variables error? Does CLEAR MEMORY get rid of something RELEASE ALL does not?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform