save a context menu module - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : System : Context-Sensitive Menus : ContextMenu/Save

ContextMenu[Save] - save a context menu module

Calling Sequence

Save(nm, archive)

Parameters

nm

-

(optional) name; context menu modules to save

archive

-

(optional) string; Maple library

Description

• 

The Save(nm) calling sequence adds the context menu module nm to a library.  If a name is not specified, the StandardContext module is saved.

• 

If archive is specified, then the variables are added to the corresponding library.  If it is not specified, then the variables are saved to the library specified by savelibname.

• 

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

• 

If archive is not specified and savelibname does not specify a library, an error is generated.

• 

If archive is specified but no corresponding library exists, it is automatically created.

Examples of ContextMenu[Save]

with(ContextMenu):

savelibname := "/home/maple/lib";

CurrentContext[Entries][Add]("Square Root", "sqrt(%EXPR)", algebraic);

Save();

See Also

ContextMenu, LibraryTools[Save]


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