|
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.
|