Post Reply 
Plus42 algebraic expressions update
03-06-2021, 08:20 PM
Post: #86
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...

The changing order of the formal arguments has long puzzled me and I've always thought that was some fall-out of the specific implementation they used (i.e. possibly not having sufficient resources in ROM/RAM to reorder it, just spit them out as they are produced - possibly from bolting L() and G() onto the core, later in development); since one can input the parameters in any order, the displayed sequence isn't a driver, and with more resources available, assume the original order could be preserved. But maybe I've missed something subtle...

--Bob Prosperi
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Plus42 algebraic expressions update - rprosperi - 03-06-2021 08:20 PM



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