Top
Back: export
Forward: for
FastBack: Functions
FastForward: System variables
Up: Control structures
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document

5.2.6 exportto

Syntax:
exportto( package_name , name );
exportto( package_name , list_of_names );
Purpose:
transfers an identifier in the current package into the one specified by package_name. package_name can be Current, Top or any other identifier of type package.

Note:
Objects defined in a ring are not automatically exported when exporting the ring.

Warning:
The identifier is transfered to the other package. It does no longer exist in the current package. If the identifier should only be copied, importfrom should be used instead.

Example:

 

See export; importfrom; keepring.

Top Back: export Forward: for FastBack: Functions FastForward: System variables Up: Control structures Top: Singular Manual Contents: Table of Contents Index: Index About: About this document
            User manual for Singular version 3-1-6, Dec 2012, generated by texi2html.