to get a program to return EXPR("%{1,2,3,3,4%}") as the set [1,2,3,4]
|
03-12-2018, 10:45 PM
Post: #7
|
|||
|
|||
RE: to get a program to return EXPR("%{1,2,3,3,4%}") as the set [1,2,3,4]
(03-12-2018 10:20 PM)John P Wrote: Thanks Carlos295pz. There is a topic of Home/CAS interaction. Only with data CAS("%{1,2,3,3,4%}") → [1,2,3,4] //OK CAS("%{1,2,3,"+"3,4%}") → "%{1,2,3,3,4%}" //You need to send the pure chain, not an operation that loses the first evaluation to the chain CAS(EVAL("%{1,2,3,"+"3,4%}")) → [1,2,3,4] //OK, string was created before being sent as a parameter With variables LOCAL lr="%{1,2,3,3,4%}",ls={"%{1,2,3,3,4%}"}; CAS(lr) → "%{1,2,3,3,4%}" CAS(ls(1)) → "%{1,2,3,3,4%}" CAS(EVAL(lr)) → [1,2,3,4] //OK, string extracted from lr before the parameter pass CAS(EVAL(ls(1))) → [1,2,3,4] //OK, string extracted from ls(1) before the parameter pass I have written about Home/CAS Interaction, but I can only create it in Spanish. Viga C | TD | FB |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)