up previous next
export    --    export a function from a package


Syntax
export FunctionName

Description
This command makes a function defined in a package visible at top-level (without having to use the package prefix). See the manual entry for First Example of a Package for an example.

The export command exports just a single name; you must call it separately for each exported function. All calls to export must be at the start of the package (i.e. before the first function definition).

If you do not want to export any names from your package then you should export the keyword skip (to avoid a warning that no export commands were found).
See Also