I think CLEAR MEMORY is what you want
>In a new application for an old system, we have a very complicated program being called by another program, and after 10 calls, we get a " too many variables" error.
>We tried calling it from the command window and go the same result. 1 -9 are OK, 10 crashes.
>If you leave VFP and come back in you can only run the program from the command window 10 times again you get the" too many variables error".
>We tried RELEASE ALL between calls but that didn't help.
>
>Any suggestions?
'If the people lead, the leaders will follow'
'War does not determine who is RIGHT, just who is LEFT'