unassign - Maple Programming Help

Online Help

All Products    Maple    MapleSim

Home : Support : Online Help : Programming : Operations : Assignment : unassign

unassign

unassign names

 Calling Sequence unassign(name1, name2, ...)

Parameters

 name1, name2, ... - names

Description

 • This procedure unassigns all the unevaluated names given as input. The value returned by unassign is NULL.
 • If any namei is of type indexed, then op(0,namei) must be either a table, an rtable or an array.

Examples

 > $a≔1:$
 > $a$
 ${1}$ (1)

The names passed to unassign must be unevaluated, use single quotes to enclose the names.

 > $\mathrm{unassign}\left('a'\right)$
 > $a$
 ${a}$ (2)
 > $b≔\mathrm{Matrix}\left(2,\mathrm{shape}=\mathrm{identity}\right)$
 ${b}{≔}\left[\begin{array}{rr}{1}& {0}\\ {0}& {1}\end{array}\right]$ (3)
 > $\mathrm{op}\left(0,b\right)$
 ${\mathrm{Matrix}}$ (4)
 > $\mathrm{unassign}\left('b'\right)$
 > $b$
 ${b}$ (5)

 See Also

Was this information helpful?

 Please add your Comment (Optional) E-mail Address (Optional) What is ? This question helps us to combat spam