Post Reply 
Plus42 algebraic expressions update
03-07-2021, 12:53 AM
Post: #92
RE: Plus42 algebraic expressions update
(03-06-2021 05:48 PM)Vincent Weber Wrote:  Also given this another thought. How will this work to reuse functions in other equations ? Will the implied ordering of variables based on "first appeared / first in the list", i.e if I define F:X+Y+Z, then using F(1:2:3) in another equation will mean calling F with X=1, Y=2, Z=3 ? Then we need to keep in mind that the order of appearance of variables in the 27S can be altered using G(), e.g. F:X+Y+Z+Y^2 will show X,Y,Z, but F: X+G(Y)+Z+Y^2, while functionally equivalent, will show X,Z,Y - not too sure how to articulate that the order of formal parameters for a function...

You can always force the order of parameters by putting them at the front of the equation like 0*X+0*Y+0*Z+<rest of equation>. It's not very elegant but it works, and I think I even read that suggestion in one of the manuals somewhere...
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Plus42 algebraic expressions update - Thomas Okken - 03-07-2021 12:53 AM



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