freeze

Locks the value of the specified variable.

Syntax

freeze(var)

Argument

var
A valid variable.

Example

Templex Expression Result
{sigma = 0.7883

freeze(sigma)}

0.7883
{sigma = 0

sigma}

0.7883

Comments

The freeze statement returns the value of the variable being "frozen".

Assignments made to frozen variables are ignored.