List Commands Library for 50g
|
07-30-2018, 08:16 PM
(This post was last modified: 07-30-2018 09:45 PM by Didier Lachieze.)
Post: #371
|
|||
|
|||
RE: List Commands Library for 50g
On the HP Prime :
S→SL: converts a string to a list of characters => EXECON("CHAR(&1)",ASC(string)) SL→S: converts a list of characters to a string => ΣLIST(list) I→NL: converts an integer to a list of numbers => ASC(STRING(integer,1))-48 NL→I: converts a list of numbers to an integer => EXPR(CHAR(list+48)) LPICK: returns a list containing identified elements in specified order => MAKELIST(list1(list2(I)),I,1,SIZE(list2)) For example : Code: list1:=EXECON("CHAR(&1)",ASC("LOGARITHMS")); // list1:={"L","O","G","A","R","I","T","H","M","S"} |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 5 Guest(s)