Post Reply 
to get a program to return EXPR("%{1,2,3,3,4%}") as the set [1,2,3,4]
03-12-2018, 10:01 PM (This post was last modified: 03-12-2018 10:43 PM by compsystems.)
Post: #3
RE: to get a program to return EXPR("%{1,2,3,3,4%}") as the set [1,2,3,4]
expr (lowercase) is a CAS command for CAS environment #cas ... #end

expr("%{1,2,3,3,4%}") returns
[1,2,3,4] (History) =(.
returns set[1,2,3,4] =) (entryline or textbook flag: off)

expr("%{ a, a, b, c, c, d, ee, ee, ee,f %}") returns
[a,b,c,d,ee,f] (History) =(
returns
set[a,b,c,d,ee,f] =) (entryline or textbook flag: off)

For [hp-prime team]
I think that the history should be conversed the prefix SET[], to differentiate it from arrays, lists, vectors , tables, etc

expr("%{ a, a, b, c, c, d, ee, ee, ee,f %}") → set[a,b,c,d,ee,f]
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: to get a program to return EXPR("%{1,2,3,3,4%}") as the set [1,2,3,4] - compsystems - 03-12-2018 10:01 PM



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