Post Reply 
Why do characters get interpreted as algebraics?
05-21-2014, 04:52 PM (This post was last modified: 05-21-2014 04:53 PM by Tim Wessman.)
Post: #7
RE: Why do characters get interpreted as algebraics?
Because + was overloaded to mean "concatenate" for several items (strings included) which is handy for use in cases when you are manually building a list, but has generated a whole other series of problems in which users try to use a list in a function such as << -> X 'X^2+2' >>
and get this: { 1 2 3 } => { 1 4 9 2 }

You have to replace the + with ADD( ) in order for it to work properly.

Hence why we reversed it on prime so you could actually use lists in algebraic objs...

TW

Although I work for HP, the views and opinions I post here are my own.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Why do characters get interpreted as algebraics? - Tim Wessman - 05-21-2014 04:52 PM



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