Close
Close window
Delete - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.
Maplesoft logo
Maplesoft logo

Online Help

All Products Maple MapleSim


[フレーム] [フレーム]

LibraryTools

Delete

remove variables from a library

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:

>

Savea,b,c,d,e

>

Deletea,b,/home/maple/altlib

>

Deletec,z,d

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


Download Help Document

AltStyle によって変換されたページ (->オリジナル) /