The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 795 - File: showthread.php PHP 7.4.33 (FreeBSD)
File Line Function
/showthread.php 795 errorHandler->error





Post Reply 
How can you get all CAS variable names in a list?
01-13-2022, 09:01 PM
Post: #1
How can you get all CAS variable names in a list?
In xcas, you can get a list of names for all defined CAS variables using the VARS function. How would you do such a thing with the HP Prime?

If there's no way to do such a thing, how would I file a feature request for it? This function is really quite important for more advanced programs and should be extremely easy to toss in. Practically all of the necessary code already exists, as they provide the CAS variable list in the "Mem" screen.

For reference for those unfamiliar, here is a link to the xcas documentation:
http://www-fourier.ujf-grenoble.fr/~pari...sec%3AVARS

In order to work on the Prime, the function might need a minor modification such that it returns the names as strings in the list.

For instance, rather than {x,y,f,k}, it would return {"x","y","f","k"}.

I also noticed that the VARS function itself was removed for the Prime. Does anyone know why?
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
How can you get all CAS variable names in a list? - IHarwell - 01-13-2022 09:01 PM



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