Post Reply 
A simple Entry Mode Switcher...
03-01-2014, 10:55 PM (This post was last modified: 03-02-2014 02:27 PM by Cristóbal De Jesús.)
Post: #1
A simple Entry Mode Switcher...
... with visual feedback. Probably the simplest program so far, it's a key definition.
Code:
// Cycles over entry mode options. 
KEY K_On() 
BEGIN 
LOCAL an:={"Textbook","Algebraic","RPN"}; 
Entry:=(Entry+1)MOD3; 

STARTVIEW(-8,1); // Out to ANY AVAILABLE view... 
STARTVIEW(-1,1); // ... and back in, to refresh 

TEXTOUT_P(an(Entry+1),G0,2,207,2,RGB(255,0,0)); 
END;
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
A simple Entry Mode Switcher... - Cristóbal De Jesús - 03-01-2014 10:55 PM
RE: A simple Entry Mode Switcher... - dae - 07-27-2019, 10:26 PM



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