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

5.2.9 importfrom

Syntax:
importfrom( package_name , name );
importfrom( package_name , list_of_names );
Purpose:
creates a new identifier in the current package which is a copy of the one specified by name in the package package_name. package_name can be Top or any other identifier of type package.

Note:
Objects defined in a ring are not automatically imported when importing the ring.

Warning:
The identifier is copied to the current package. It does still exist (independently) in the package package_name. If the identifier should be erased in the package from which it originates, exportto should be used instead.

Example:
 

See export; exportto; keepring.


Top Back: if Forward: keepring 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.