Topic variable: Difference between revisions

Added Axe
(Added Mathematica)
(Added Axe)
Line 5:
 
For instance you can (but you don't have to) show how the topic variable can be used by assigning the number <math>3</math> to it and then computing its square and square root.
 
=={{header|Axe}}==
In Axe, evaluated expressions can be "remembered" until the next expression is evaluated.
<lang axe>3
Disp *3▶Dec,i</lang>
 
Prints:
<pre>
9
</pre>
 
However, attempting to use the result now would result in garbage due to the ▶Dec and Disp commands overwriting the previous result.
 
=={{header|Clojure}}==
Anonymous user