8 Programming with Modules - Maple Programming Help

Online Help

All Products    Maple    MapleSim

Home : Support : Online Help : Manuals : Programming Guide : ProgrammingGuide/Chapter08

Contents     Previous     Next     Index

8 Programming with Modules

This chapter describes the structure and flexibility of Maple modules.

Modules allow you to associate related procedures and data in one structure. By creating a module, you can write code that can be reused, transported, and easily maintained. You can also use modules to implement objects in Maple.

This chapter provides several example modules, many of which  are available as Maple source code in the samples directory of your Maple installation. You can load these examples into the Maple library to modify and extend them, and use them in custom programs.

8.1 In This Chapter


Syntax and semantics


Using modules as records or structures


Modules and use statements


Interfaces and implementations