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
CodeGeneration[Save] - save defined languages to archive
Calling Sequence
Save( archive, language = l )
Parameters
archive
-
(optional) string; Maple library
l
(optional) string, list, or set; translators to save
Description
The Save command saves one or more language translators to the specified Maple archive. This command is used for saving any user-defined languages added with tools from the CodeGeneration[LanguageDefinition] subpackage.
The language translators to be saved are specified with the language = l option. The parameter l may be a string corresponding to a defined language name, or a list or set of strings which correspond to several defined language names.
If archive is specified, then the languages are saved in the corresponding library. If the library file does not exist, it is automatically created.
If archive is specified as a directory, Maple assumes the default library name, maple.mla. Otherwise, you must specify archive as a path and library name.
If archive is not specified and savelibname is assigned, but does not specify a library, an error is generated.
If archive is not specified and savelibname is unassigned, the first library appearing in libname is used.
Note: Save cannot write to a library that is read-only. In this case, an error is generated.
Examples
Save a newly-defined language to an archive for later re-use.
See Also
CodeGeneration, CodeGeneration[LanguageDefinition], LibraryTools[Save]
Download Help Document