Post Reply 
Prime crashes while deleting Home vars
09-26-2015, 05:04 PM
Post: #9
RE: Prime crashes while deleting Home vars
The primes handling of variables is odd at best, demonic at worst.

If you create a variable JOE in the home window and use it in a program the program will name search the variable when run(very slow).
It also shows in vars under user vars.
If you then delete the variable with MEM mgr
and run the pgm you get an error.

BEFORE you delete it , however, you might then declare JOE in the program
itself (EXTERN JOEWink.

Now, strangely, it shows up in vars as BOTH a program variable as well as a user var.
But there is only one variable.

If you now go to the MEM mgr its listed as a user var with no clue as to what it is.

Now if yoy try to delete it one of two thins happens
(1) it gracefully refuses to delete it
(2) it crashes.

Even though it crashes the variable wont go away.

This is what happened to me trying speed up my large program once I realized what was happening.
The short story is dont attempt to delete variable which are declared in programs as export. You dont need or want to.

I bet all of this is true for the real calculator as well.

I work with android Prime only for now on my
Galaxy Tab Pro/Note 2
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Prime crashes while deleting Home vars - ji3m - 09-26-2015 05:04 PM



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