On third thought ;-) that's positively correct Erik. After reviewing the original post, it may just be that Senna was using the wrong syntax. Senna: Is your code exactly as you'd written it here? "Release memory all" is incorrect syntax. If you are trying to release all memory variables, use: Release all. Release memory all would, I believe release a variable named 'memory'.
>>On second thought, it should work in destroy too. Assuming it's an object reference, make sure you .null. the object:
>>myObject = .null.
>>
>
>Just releasing it should work. You have to .NULL. form properties because you can'release them, but a global variable should just go away...
kenweber
GCom2 Solutions
Microsoft Certified Professional