I have an old system that uses the "display memory" command to send the contents of the memory to a text file. However, there are several large arrays and after the text file is created the system errors with a General Protection Fault.
I know I can close these publick variables down with a "release x" command where x is the name of the variable. The arrays are all prefixed "ga" so I hoped to just use a "release all like ga*". This doesn't work because release all only works on variables that are private.
I am stuck for ideas now, anyone suggest a way of tackling this? I was hoping for a way of looping through a collection but that isn't an option in foxpro.
Thanks in advance.
Rewriting this in VFP 9 is not an option, otherwise this wouldn't be a problem.
Mark Davies
Warwickshire County Council
I know I can close these publick variables down with a "release x" command where x is the name of the variable. The arrays are all prefixed "ga" so I hoped to just use a "release all like ga*". This doesn't work because release all only works on variables that are private.
I am stuck for ideas now, anyone suggest a way of tackling this? I was hoping for a way of looping through a collection but that isn't an option in foxpro.
Thanks in advance.
Rewriting this in VFP 9 is not an option, otherwise this wouldn't be a problem.
Mark Davies
Warwickshire County Council