EXECON HELP (DoLIST ~= HP50 CMD)
|
09-03-2016, 07:37 PM
(This post was last modified: 09-04-2016 01:41 AM by compsystems.)
Post: #1
|
|||
|
|||
EXECON HELP (DoLIST ~= HP50 CMD)
EXECON("&1+10",{1,2,3}) -> {11,12,13} // == {1,2,3} .+ 10 // Ok SEQUENCE, do each element of the list + 1
EXECON("&1-&2",{1,4,3,5}) -> {-3,1,-2} // Ok EXECON("&2-&1",{1,4,3,5}) -> {3,-1,2} // == {4-1, 3-4, 5-3} Ok SEQUENCE, do form element 2 - previous element EXECON("&2-&1",{1,2,3}, {4,5,6}) -> {3,3,3} // Ok SEQUENCE, do element 1 of list2 - element 1 of list1 EXECON("&1-&2",{1,2,3}, {4,5,6}) -> {-3,-3,-3} // Ok SEQUENCE, do element 1 of list1 - element 1 of list2 EXECON("(&1)*5",{1,2,3}) Returns {5,10, 15} // Ok EXECON("&11 *5",{1,2,3}) Returns {5,10, 15} 11 How this is interpreted? EXECON("&2 *5",{1,2,3}) Returns {10, 15} // Ok ({1,2,3}[2, ...]) .* 5 -> {2,3}*5 -> {10, 15} EXECON("&12 *5",{1,2,3}) Returns {10, 15} // Ok EXECON("&3 *5",{1,2,3}) Returns {15} // Ok EXECON("&4 *5",{1,2,3}) "Error: Invalid input" // Ok EXECON("&1 *5",[1,2,3]) Returns [5,10, 15] // Ok each element of the list * 5 EXECON("&2 *5",[1,2,3]) Returns [10] // ???????? EXECON("&12 *5",[1,2,3]) Returns [10] // ???????? -> [10, 15] why with bracketed [] return a different answer ???????? EXECON("&1+&2",{1,2,3}, {4,5,6}) -> {5,7,9} EXECON("&1+&2",{{1,2,3}, {4,5,6}}) -> {{5,7,9}} EXECON("&2 *5",{{1,2,3}, {4,5,6}}) returns {{20,25,30}} // {{1,2,3},{4,5,6}}[2, ...] -> {4,5,6} Ok element(2,...) EXECON("&12 *5",{{1,2,3}, {4,5,6}}) returns {{20,25,30}} 12 How this is interpreted? EXECON("&1 *5",{{1,2,3}, {4,5,6}}) -> {{5,10,15}, {20,25,30}} // {{1,2,3},{4,5,6}}[1, ...] -> {{1,2,3},{4,5,6}} EXECON("&1 =0",{1,2}) -> {0,0} ??? -> {1=0, 2=0} EXECON("&1+10",{a,b,c}) -> "Error: Syntax Error" =(, cmd CAS equivalent? |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
EXECON HELP (DoLIST ~= HP50 CMD) - compsystems - 09-03-2016 07:37 PM
RE: EXECON HELP - Didier Lachieze - 09-03-2016, 08:29 PM
RE: EXECON HELP (DoLIST ~= HP50 CMD) - compsystems - 09-03-2016, 08:39 PM
RE: EXECON HELP (DoLIST ~= HP50 CMD) - Didier Lachieze - 09-03-2016, 09:32 PM
RE: EXECON HELP (DoLIST ~= HP50 CMD) - compsystems - 09-04-2016, 01:36 AM
RE: EXECON HELP (DoLIST ~= HP50 CMD) - compsystems - 09-04-2016, 01:53 AM
|
User(s) browsing this thread: 1 Guest(s)