Macaulay2 » Documentation
Packages » Macaulay2Doc » The Macaulay2 language » making new functions with optional arguments » symbols used as the name or value of an optional argument » PackageExports
next | previous | forward | backward | up | index | toc

PackageExports -- an optional argument

Description

A symbol used as the name of an optional argument.

Functions with optional argument named PackageExports:

  • capture(...,PackageExports=>...) -- see capture -- evaluate Macaulay2 code and capture the output
  • newPackage(...,PackageExports=>...) -- see newPackage -- the preamble of a package

For the programmer

The object PackageExports is a symbol.


The source of this document is in Macaulay2Doc/options.m2:28:0.