Previous Up Next

9.1.12  Substituting a variable by a value

The | operator is an infixed operator that evaluates an expression after giving values to some variables. It does not evaluate the expression before the variables are replaced by the requested values.

Examples

The command lines below work even if a and/or b have been assigned.

a^2+1 | a=2
     
5           
a^2+b | a=2,b=3
     
7           

Previous Up Next