Is there a simple
construct similar to % that allows one to access the 'output' of earlier parts of a compound expression, for use in later parts of the same compound expression? For example, if such a construct had 'symbol' X, say, then perhaps inputting 1+2;X+10 would output 13? Similarly, perhaps inputting 1;2;3;X+XX would output 5? I'm aware that you can set up dummy variables and modules etc to effect similar outcomes, but does anything simple
like I've described exist? Many thanks to whoever answers this or provides a lead.