HP Forums
Script file for NewRPL - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: Not HP Calculators (/forum-7.html)
+--- Forum: Not quite HP Calculators - but related (/forum-8.html)
+--- Thread: Script file for NewRPL (/thread-17288.html)



Script file for NewRPL - compsystems - 07-28-2021 04:11 AM

Hello

Calculators of nowdays are based on independent input and output lines, or program execution.

Why not create a new way to read and run statement scripts?

In hp-prime I can create a script, but I cannot store or export the sequence as a text file.
[Image: quadraticform_scriptcas_image01.png]

Xcas can do it export as and import text (script) file .

[Image: xcas_export.png]

I want to see the possibility of a script file for newRPL in RPN syntax, by now with a numeric engine.

The following link shows script in the hp-prime
https://www.hpmuseum.org/forum/thread-16848.html?highlight=xcas
PHP Code:
(a*x^2+b*x+c) = 0
    
Ans*4*a;      
    
expand(Ans);    
    
Ans+b^2;      
    
Ans-4*a*c;    
    
simplify(Ans); 
    
factor(Ans);   
    
(Ans);       
    
subst(Ans,'abs'nop); 
    
Ans-b;          
    
simplify(Ans);
    
Ans/(2*a);    
    
simplify(Ans);  
    
expr(replace(string(Ans),"-b+","-b-")); 



RE: Script file for NewRPL - Claudio L. - 07-29-2021 03:01 PM

An RPL program is a script of the steps you take to solve the problem.
I think you mean capturing keypresses to generate a program with the input? Could be done but I don't see a big need for it because RPL is so close to the keystrokes you need to do anyway.