How do i fix a memory Leak?
I believe you mean within the program. I suggest taking a look at this page. What you need to do is make sure there are no goto commands that jump outside of a code block, such as a loop or if..then.
If you mean getting memory back that you lost from the leak(s), I believe a simple RAM clear should do the trick. Just make sure all important files you want to keep are archived before hand.
Hope this helps :)
Memory is not lost from memory leaks, what happens is that the calculator uses some memory when it encounters a For(, While, Repeat, etc. As the stack increases, the calculator will run out of ram and you get ERR:MEMORY, the program ends and the memory lost to the leak is restored. When a program ends the stack is cleared. So you can create huge memory problems and solve them with a simple Return or Stop in the program.
I was copying that Pokemon Card Game program and someone told him to fix memory leaks. That's why I asked,because I want to program it to.