Post Reply 
User defined touch-button menu (Softkeys)
06-25-2019, 12:41 PM
Post: #13
RE: User defined touch-button menu (Softkeys)
(06-23-2019 09:14 PM)Gene222 Wrote:  
PHP Code:
KEY K_Vars()
BEGIN
  LOCAL ch_num
,ch_items,func_list;
  
// choose items
  
ch_items:={"SIN","ASIN","COSH","ACOSH"};
  
// function list
  
func_list:={"SIN()","ASIN()","COSH()","ACOSH()"};
  
CHOOSE(ch_num,"Functions (Esc to exit)",ch_items);
  IF 
ch_num==0 THEN  //Was Esc key pressed?
    
RETURN("");
  ELSE
    RETURN(
func_list(ch_num));
  
END;
END

I tried this code. Got no error during checking. However, I can't execute it! ...weird...
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: User defined touch-button menu (Softkeys) - Arch - 06-25-2019 12:41 PM



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