Post Reply 
How to pass by reference in XCAS ?
10-27-2020, 07:32 AM
Post: #7
RE: How to pass by reference in XCAS ?
You can store a value by reference in a list with =< instead of :=
Example
Code:

l:=[1,2]; m:=l; l[1]=<3; m;
The modification will affect all references, therefore be careful!
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: How to pass by reference in XCAS ? - parisse - 10-27-2020 07:32 AM



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