unwith - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : System : Libraries and Packages : unwith

unwith

remove package exports from the global namespace

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

unwith( pname )

Parameters

pname

-

name; the name of a package

Description

• 

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.

Examples

withLinearAlgebra:withStringTools:withCurveFitting:withSockets:withgroup:

packages

LinearAlgebra,StringTools,CurveFitting,Sockets,group

(1)

unwithStringTools

packages

LinearAlgebra,CurveFitting,Sockets,group

(2)

unwithgroup

withStudent:-LinearAlgebra:

packages

LinearAlgebra,CurveFitting,Sockets,Student:-LinearAlgebra

(3)

withStringTools:

packages

LinearAlgebra,CurveFitting,Sockets,Student:-LinearAlgebra,StringTools

(4)

unwithgroup

Error, (in unwith) no package called `group' is currently bound

withcontext:

unwithLinearAlgebra

Error, (in unwith) the procedure `unwith' is currently disabled due to the presence of table-based packages

withgroup:

See Also

packages

procedure

table

with

 


Download Help Document

Was this information helpful?



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