Expression Parameters

Top  Previous  Next

Expression parameters define a parameter in terms of other parameters. Any indicated calculations will be evaluated.

 

$p = 4

$q = ($p+1)2

$r= $p + $q

 

Given these definitions, the following equation:

 

$p + $q + $r

 

would be rendered as

 

4 + 25 + 29

 

where $q is calculated as (4+1)^2 and $r is calculated as 4 + 25.