Previous section-----Next section

EXPR

=EXPR(head, arg1, arg2, ...) builds the Mathematica expression head[arg1, arg2, ...].
• Example: =EXPR("f","x","y") returns f[x,y].
• You can build any expression using nested EXPR calls.
• Example: =EXPR("Sqrt",EXPR("Plus",EXPR("Power",A1,2),EXPR("Power",A2,2))).
• If head contains #, head is automatically assumed to be a pure function.
• Example: =EXPR("Sqrt[#1^2+#2^2]",A1,A2).
=EXPR(head, arg1, arg2, ...) returns #N/A if head or any arguments refer to an empty cell or an error.
=EXPR(range) trims empty cells and errors from the end of range.
• See also: EVAL, DATA, RULE.