anames - sequence of assigned names
|
Calling Sequence
|
|
anames( );
anames( type );
anames( 'environment' );
anames( 'user' );
anames( 'alluser' );
anames( 'active' );
|
|
Description
|
|
•
|
The anames command returns an expression sequence of names that are currently assigned values other than their own name.
|
•
|
When anames is called with a type, anames returns an expression sequence of names that are currently assigned values of the given type.
|
•
|
When called with the argument environment, anames returns an expression sequence of environment variables in the active environment.
|
•
|
When called with the argument user, anames returns an expression sequence of user-assigned names. A user-assigned name is defined as a name that is not saved in a library, and does not contain a forward-slash ('/') or leading underscore ('_').
|
•
|
When called with the argument alluser, anames returns the same output as anames(user) without filtering names containing a forward-slash ('/') or leading underscore ('_').
|
•
|
When called with the argument active, anames returns all the global names that have been assigned to in the current session.
|
|
|
Thread Safety
|
|
•
|
The anames command is thread-safe as of Maple 15.
|
|
|
Examples
|
|
>
|
|
| (1) |
>
|
|
| (2) |
>
|
|
| (3) |
>
|
|
| (4) |
>
|
|
| (5) |
To find assigned names with a common prefix.
>
|
|
| (6) |
>
|
|
| (7) |
>
|
|
| (8) |
|
|
Download Help Document
Was this information helpful?