LibraryTools - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : System : Libraries and Packages : LibraryTools : LibraryTools/Delete

LibraryTools

  

Delete

  

remove variables from a library

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

Delete( name1, name2, ..., archive )

Parameters

name1, name2, ...

-

name; names of Maple variables to remove

archive

-

(optional) string; Maple library to delete from

Description

• 

The Delete( name1, name2, ...) calling sequence deletes the variables name1, name2, ... from the library specified in savelibname.  If archive is specified, then the variables are deleted from that library.

• 

If archive is a directory, Maple assumes the default library name, maple.mla.  Otherwise, archive specifies the path and library name.

• 

The Delete command assumes the variables were saved using calls to savelib or save functions. Therefore, when deleting Maple variables (name1, name2, ...) the corresponding indexname is used, for example, "name1.m".  For variables, whose indexname is not in this format, Delete does not work.  In this case, march must be used instead.

• 

If archive is specified but does not exist or is not the directory of a library, an error is generated.

• 

If a specified variable does not exist in the library, a warning is generated and evaluation continues.

Examples

withLibraryTools:

savelibname/home/maple/altlib:

a10:

b11:

c12:

d13:

e14:

Save'a','b','c','d','e'

Delete'a','b',/home/maple/altlib

Delete'c','z','d'

 Warning, member "z.m" not found in archive, skipping

See Also

LibraryTools

LibraryTools[AddFromDirectory]

LibraryTools[BuildFromDirectory]

LibraryTools[Save]

LibraryTools[UpdateFromDirectory]

march

save

savelib

 


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