|
5.1.93 names
Syntax:
names ( )
names ( ring_name )
names ( package_name )
Type:
- list of strings
Purpose:
- returns the names of all user-defined variables which are ring independent
(this includes the names of procedures) or, in the second case, which
belong to the given ring.
package_name can be Current , Top or any other
identifier of type package.
Example:
| int i=9;
ring r;
poly f;
package p;
int p::j;
poly g;
setring r;
list l=names();
l[1..3];
==> l p r
names(r);
==> [1]:
==> g
==> [2]:
==> f
names(p);
==> [1]:
==> j
|
See
nameof;
reservedName.
|