next | previous | forward | backward | up | top | index | toc | Macaulay2 website
SLPexpressions :: undeclareVariable

undeclareVariable -- clears assignment of an input gate to a variable name

Synopsis

Description

This method undoes the action of declareVariable, by reverting the assignment of an InputGate to a symbol.

i1 : declareVariable x

o1 = x

o1 : InputGate
i2 : x + 1

o2 = (x + 1)

o2 : SumGate
i3 : undeclareVariable x

o3 = x

o3 : Symbol
i4 : x

o4 = x

o4 : Symbol

See also

Ways to use undeclareVariable :

For the programmer

The object undeclareVariable is a method function.