• =RULE(lhs, rhs) builds the Mathematica expression lhs -> rhs. • Example: =RULE("x",1) returns x -> 1. • The RULE function can be used to specify options for the Mathematica function in EVAL or EXPR calls. • Example: =EVAL("Plot",A1,A2:A4,RULE("PlotTitle",A1),RULE("PlotStyle","Blue")). • If lhs and rhs are references to multi-cell ranges of the same size, a list of rules is returned. • Example: =EVAL("ReplaceAll",A1,RULE(A2:A4,B2:B4)). |