2. What is a macro?#

A macro is a command that groups the execution of several subcommands. It can be used in a command file like any other command and has its own catalog, defining its syntax. Several types of macro are possible:

  • macros specific to the supervisor, implemented in Python and Fortran: for example FORMULE, INCLUDE, DEBUT…

  • developer macros implemented in Python.

This document treats the definition and use of macros in Python.