Post Reply 
Existing CAS commands --> Prime discussion
11-08-2019, 01:00 AM
Post: #70
RE: Existing CAS commands --> Prime discussion
(11-08-2019 12:57 AM)compsystems Wrote:  increment(a,1) stores the result of a: = a+1

No, it doesn't. It increments a temporary copy of a, not a itself. That's why you have to store the result back to the variable a yourself.

a:=increment(a,1)

Tom L
Cui bono?
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Existing CAS commands --> Prime discussion - toml_12953 - 11-08-2019 01:00 AM



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