Maxima Manual. Node: Introduction to Command Line

PREV Command Line UP Command Line NEXT Definitions for Command Line

22.1: Introduction to Command Line

Function: %TH (i)
is the ith previous computation. That is, if the next expression to be computed is D(j) this is D(j-i). This is useful in BATCH files or for referring to a group of D expressions. For example, if SUM is initialized to 0 then FOR I:1 THRU 10 DO SUM:SUM+%TH(I) will set SUM to the sum of the last ten D expressions.
operator: "'"
- (single quote) has the effect of preventing evaluation. E.g. '(F(X)) means do not evaluate the expression F(X). 'F(X) means return the noun form of F applied to [X].
operator: "''"
- (two single quotes) causes an extra evaluation to occur. E.g. ''c4; will re-execute line C4. ''(F(X)) means evaluate the expression F(X) an extra time. ''F(X) means return the verb form of F applied to [X].
PREV Command Line UP Command Line NEXT Definitions for Command Line