Post Reply 
How can you get all CAS variable names in a list?
01-14-2022, 09:40 AM
Post: #3
RE: How can you get all CAS variable names in a list?
(01-14-2022 05:45 AM)parisse Wrote:  As you can guess, it was not me. The code exists, but VARS was removed from the keywords list recognized by the parser.

Interesting. Thank you for the response.

By the sound of it, it seems unlikely that the feature would be added back in, then. I'm struggling to understand why it was removed at all.

The lack of this one feature is presently the only thing preventing me from implementing a CAS serialization workaround.

All it would take is a list of names of the variables. From those, you just need to wrap it all up with [name]+":="+CAS.eval([name]), put those strings in a list on Home view, and save the Home view. To load, you just go through the list with CAS(eval([list entry])) commands to reconstruct the CAS variables.

It's not quite as complete as the full stack restoration you get with Home view, but it's better than nothing.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: How can you get all CAS variable names in a list? - IHarwell - 01-14-2022 09:40 AM



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