Post Reply 
(50G) TERMINAL VIEW (I/O) Printing and capturing data, emulating a terminal
12-19-2016, 04:45 PM (This post was last modified: 06-15-2017 01:57 PM by Gene.)
Post: #1
(50G) TERMINAL VIEW (I/O) Printing and capturing data, emulating a terminal
Hello

I am emulating a terminal view.
FEATURES:
0: prettyPrint (math textbook)
1: font change (8/7/6/5) pixels
2: printing of GRAPHS (GROBS)
4: popups (choose, and menus) inside the view
5: input line

TO DO:
0: improve data capture on screen
1: horizontal scroll for large equations. (I think it is only feasible with system RPL) =( Who can help me?
2: print continuously (vertically) for now only a screen. (I think it is only feasible with system RPL) =(

Suggested, comments are welcome

files: Binary File (Library and test directory) VERSION 1.0.3

[Image: TerminalWindow_RPL_HP50_image02.png]

[Image: TerminalWindow_RPL_HP50_image03.png]

Sample of use (USER-rpl).
PHP Code:
«
{
"** Deduction Quadratic Formula **" print wait

"" print
"Quadratic Equation" print wait

"" print
'(a*x^2+b*x+c)=0' ::'equ' STO
equ prettyPrint wait

"" print
"assume(a>0)" print wait

"" print
": answer - c" print wait
'equ' - ::'equ' STO
equ prettyPrint wait

"" print
": COLLECT(answer)" print wait
equ 
EVAL ::'equ' STO
equ prettyPrint wait

"" print
": answer/a" print wait
'equ' / ::'equ' STO
equ prettyPrint wait

"" print
": DISTRIB(answer)" print wait
`DISTRIB(equ)` ::'equ' STO
equ prettyPrint wait
}
terminalViewInit
gotoHomeScreen
» 

New command: INPUTLINE


[Image: TerminalWindow_RPL_HP50_image04.png]

Sample of use (USER-rpl).
PHP Code:
«
   
x y PURGE
   clearTermView
   
{
     
"Enter X value" print
     
'x' inputLine
     
"Enter Y value" print
     
'y' inputLine
     
"The sum is: " x y + + print
   }
   
terminalViewInit
   gotoHomeScreen
   
x y PURGE
 » 
Find all posts by this user
Quote this message in a reply
Post Reply 




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