Maple Professional
Maple Academic
Maple Student Edition
Maple Personal Edition
Maple Player
Maple Player for iPad
MapleSim Professional
MapleSim Academic
Maple T.A. - Testing & Assessment
Maple T.A. MAA Placement Test Suite
Möbius - Online Courseware
Machine Design / Industrial Automation
Aerospace
Vehicle Engineering
Robotics
Power Industries
System Simulation and Analysis
Model development for HIL
Plant Modeling for Control Design
Robotics/Motion Control/Mechatronics
Other Application Areas
Mathematics Education
Engineering Education
High Schools & Two-Year Colleges
Testing & Assessment
Students
Financial Modeling
Operations Research
High Performance Computing
Physics
Live Webinars
Recorded Webinars
Upcoming Events
MaplePrimes
Maplesoft Blog
Maplesoft Membership
Maple Ambassador Program
MapleCloud
Technical Whitepapers
E-Mail Newsletters
Maple Books
Math Matters
Application Center
MapleSim Model Gallery
User Case Studies
Exploring Engineering Fundamentals
Teaching Concepts with Maple
Maplesoft Welcome Center
Teacher Resource Center
Student Help Center
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