Post Reply 
How to destroy a GROB?
10-01-2023, 11:48 AM
Post: #1
How to destroy a GROB?
I wrote a program that loads a large image into G2. But after the program is executed, I only have about 20MB of free RAM, which I believe is caused by GROB not being destroyed. If I try to run the program again, the calculator will crash. I have spent quite some time searching on the internet about how to destroy GROB or free up RAM but I couldn't find anything.
Find all posts by this user
Quote this message in a reply
10-01-2023, 03:28 PM
Post: #2
RE: How to destroy a GROB?
Bonjour
Peut être DIMGROB_P(Gx,0,0);


Hello
Maybe DIMGROB_P(Gx,0,0);

Sorry for my english
Find all posts by this user
Quote this message in a reply
10-01-2023, 04:59 PM
Post: #3
RE: How to destroy a GROB?
(10-01-2023 11:48 AM)Overlord Wrote:  I wrote a program that loads a large image into G2. But after the program is executed, I only have about 20MB of free RAM, which I believe is caused by GROB not being destroyed. If I try to run the program again, the calculator will crash. I have spent quite some time searching on the internet about how to destroy GROB or free up RAM but I couldn't find anything.

The Help screen for G0-G9 says, "Variables G1 to G9 are temporary and are cleared when the calculator turns OFF." So one simple workaround is to turn the calculator off and back on.

<0|ɸ|0>
-Joe-
Visit this user's website Find all posts by this user
Quote this message in a reply
10-03-2023, 04:38 PM
Post: #4
RE: How to destroy a GROB?
(10-01-2023 03:28 PM)Tyann Wrote:  Bonjour
Peut être DIMGROB_P(Gx,0,0);


Hello
Maybe DIMGROB_P(Gx,0,0);

Thank you! It worked
Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)