Assign

Name

Assign -- Sets the value of a variable

Synopsis

Assign[name->TEXT, value->T*] =: T

Description

Assign creates a new variable name, with value value. Returns the value assigned. If name is already a defined variable in the current scope, then if it is of type T, it is modified to have return value of value. If it is of a different type, an error results.

Short form

x := value

See also

Clear, UnAssign.