CAS command question
|
01-03-2017, 10:54 PM
Post: #7
|
|||
|
|||
RE: CAS command question
(01-03-2017 07:24 AM)parisse Wrote: it's because evaluation rewrites inequation with >= or >. If you enter x<2, it is evaled as 2>x.Hm, but why is that? I see possible reasons for this from a programmer's point of view, but from a user's perspective I would find it counter-intuitive. A possible solution for the above presented left() / right() issue could be to either not swap the sides here, or, if this can't be avoided, to set an internal flag which would "swap" the left() and right() functions as well, so that they would return what's intuitive from a user's perspective. If having functions with the currently implemented behaviour would be desirable to have as well, they could be introduced under less ambiguous function names (TBD). Greetings, Matthias -- "Programs are poems for computers." |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 6 Guest(s)