
anames - returns the identifiers that have a value

Calling sequence:
anames(integer)
anames(name)

Parameter:
integer   --  one of the numbers 0, 1, 2 or 3
name      --  identifier

Summary:

anames(n) returns the set of identifierswhich have a value  assigned to them.
The parameter n determines the identifiers to be taken into account:

n = 0:  Output of all functions whose procedure body is defined by a function environment
    . This includes the functions of the system kernel.

n = 1:  Output of all identifiers, which have been assigned procedureswritten
    in the MuPAD language.

n = 2:  Output of all identifiers not included in the above criteria i.e. all
    variables.

n = 3:  Output of all identifiers that have a value. This includes all the cases
    above.

anames(name) returns TRUE, if the identifier name has been assigned a value.
In all other cases it returns FALSE. During this the argument name is not
substituted.  Thus, e.g. the entry n := m; anames(n); returns the result
TRUE, because n has a value. If, however, anames(m) is to be carried out then

anames(level(n,1)) must be entered. anames is a kernel function.

>>  f := proc() begin end_proc: anames(1);

      {f}

>>  a := b: anames(a);

      TRUE

>>  anames(b);

      FALSE

>>  anames(sin);

      TRUE

See also:  load

