# release_hold function

Evaluate an expression that was held.

## How to write it

### release_hold(expr)

**expr**

Any expression: a number, a formula, a list or a matrix. Takes an expression.

## Examples

- $\displaystyle \operatorname{release\_hold}(1+1) = 2$

  `release_hold(hold(1 + 1))`

  In the solver, `release_hold(hold(1 + 1))` gives `2`.

  [Open in the solver](https://hilberon.com/?q=release_hold%28hold%281%20%2B%201%29%29)

## Related functions

- [set](https://hilberon.com/library/set)

  Assign a value to a name; also written name := value.
- [pre_increment](https://hilberon.com/library/pre_increment)

  Add 1 to a variable in place and return the new value.
- [set_delayed](https://hilberon.com/library/set_delayed)

  Define a function; also written f(x) := body.
- [pre_decrement](https://hilberon.com/library/pre_decrement)

  Subtract 1 from a variable in place and return the new value.
- [slot](https://hilberon.com/library/slot)

  The n-th argument of a function with no name: inside function(body), slot(1) is the first.
- [piecewise](https://hilberon.com/library/piecewise)

  Cases written value if condition, with an optional otherwise case.

---
Source: https://hilberon.com/library/release_hold
