Skip to content

Esta página también está en español.

Léela en español

このページは日本語でも読めます。

日本語で読む

本页也有简体中文版本。

阅读简体中文版本

hold function

Keep an expression as written, without evaluating it.

How to write it

hold(expr)

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

Examples

  • release_hold

    Evaluate an expression that was held.

  • ifelse

    A value chosen by a test.

  • function

    A function with no name; also written x => body.

  • increment

    Add 1 to a variable in place and return its old value.

  • evaluate

    Evaluate an expression even where it would be held.

  • indicator

    A condition as a number: 1 when it is true and 0 when it is false.