Post Reply 
Prime User Function Catalog, Pressing "Run"
08-23-2022, 05:34 PM
Post: #2
RE: Prime User Function Catalog, Pressing "Run"
This behaviour only seems to be true for user defined CAS functions. For "non-CAS" functions, if you hit "run" in the program list, the first function followed by an "EXPORT" command in the code is run via the RUN button in the program list, and then the Prime asks for values for the parameters to be entered in a form. If a program exports multiple functions, then there is a select menu appearing on top of "run" that lets you choose the function you want to execute. From the Home screen, you can find these functions via the "Toolbox" key, then in the "User" menu. Selecting one from there will put the function name and parentheses onto the command line for further editing and execution.

It seems to work differently for CAS functions, probably because they are handled differently internally, but you can actually find the functionality you are looking for elsewhere:

In the Home screen (no matter if CAS or Home mode), hit the "Vars" button, then select "CAS", then "Program". The list should contain your function name and when you select it, it is put into the command line like you were asking. You have to add the parentheses and parameter and can execute with the ENTER key.

As a side note, at first glance I don't see a reason why your function needs to be a CAS function. It should work with the same code (maybe some uppercase required) when you define it as "non-CAS" function in your program. Then you will find it in the "Toolbox" key's "User" menu, via the name of your program.

Hope this helps.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Prime User Function Catalog, Pressing "Run" - goetz - 08-23-2022 05:34 PM



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