Post Reply 
User Key: Custom Menu
11-26-2017, 03:59 AM (This post was last modified: 11-26-2017 04:00 AM by Tyann.)
Post: #4
RE: User Key: Custom Menu
Bonjour
Pour le nouveau firmware Je vous propose une amélioration qui permet de quitter sans faire de choix avec 'ESC'


Hello
For the new firmware I propose an improvement that allows you to leave without making a choice with 'ESC'

Code:

// a custom menu
// 2017 EWS

KEY K_Templ()
BEGIN
LOCAL r,str,lst,cst,ch;
// templates
lst:={"Function.ROOT()",
"Function.AREA()",
"Function.SLOPE()",
"Finance.TvmNbPmt()",
"Finance.TvmIPYR()",
"Finance.TvmPV()",
"Finance.TvmPMT()",
"Finance.TvmFV()"};


// choose list
cst:={"ROOT",
"AREA",
"SLOPE",
"N",
"I%YR",
"PV",
"PMT",
"FV"};

r:=CHOOSE(ch,"Template",cst);
IF r THEN
 RETURN lst(ch);
ELSE
 RETURN -1
END;
END;

Sorry for my english
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
User Key: Custom Menu - Eddie W. Shore - 11-03-2017, 12:43 PM
RE: User Key: Custom Menu - Carsen - 11-03-2017, 08:21 PM
RE: User Key: Custom Menu - Tyann - 11-04-2017, 06:38 AM
RE: User Key: Custom Menu - Tyann - 11-26-2017 03:59 AM
RE: User Key: Custom Menu - tcab - 05-11-2018, 08:03 AM



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