unwith
remove package exports from the global namespace
Calling Sequence
Parameters
Description
Examples
unwith( pname )
pname
-
name; the name of a package
The unwith command undoes the effects of with. That is, it removes global bindings of package exports, which have been imposed by using the with command, for packages that are implemented as modules.
The unwith command works only for packages that are implemented as modules. Moreover, it is effective only in a session in which only module-based packages have been imposed on the global namespace using with. If with is called with a table- or procedure-based package as first argument at any time during a Maple session, then the unwith command is disabled. Subsequent attempts to call unwith result in an exception being raised.
It is an error to call unwith on a package whose exports have not been previously imposed by with.
The following packages are incompatible with the use of unwith because they are implemented as tables or procedures.
algcurves
combstruct
DEtools
diffalg
difforms
inttrans
liesymm
LRETools
networks
orthopoly
simplex
stats
student
tensor
Note: To see a list of the packages for which the exports are bound to the top level, use the packages command. The packages are listed in binding order, with the most recently bound package at the end of the list.
with⁡LinearAlgebra:with⁡StringTools:with⁡CurveFitting:with⁡Sockets:with⁡group:
packages⁡
LinearAlgebra,StringTools,CurveFitting,Sockets,group
unwith⁡StringTools
LinearAlgebra,CurveFitting,Sockets,group
unwith⁡group
with⁡Student:-LinearAlgebra:
LinearAlgebra,CurveFitting,Sockets,Student:−LinearAlgebra
with⁡StringTools:
LinearAlgebra,CurveFitting,Sockets,Student:−LinearAlgebra,StringTools
Error, (in unwith) no package called `group' is currently bound
with⁡context:
unwith⁡LinearAlgebra
Error, (in unwith) the procedure `unwith' is currently disabled due to the presence of table-based packages
with⁡group:
See Also
packages
procedure
table
with
Download Help Document