Save - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.
Our website is currently undergoing maintenance, which may result in occasional errors while browsing. We apologize for any inconvenience this may cause and are working swiftly to restore full functionality. Thank you for your patience.

Online Help

All Products    Maple    MapleSim


ContextMenu

  

Save

  

save a context menu module

 

Calling Sequence

Parameters

Description

Examples of ContextMenu[Save]

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]