### The Maxima on-line user's manual

Algebra Calculator

#### Values

-- System variable: values Initial value: `[]`

`values` is a list of all bound user variables (not Maxima options or switches). The list comprises symbols bound by `:`, or `::`.

If the value of a variable is removed with the commands `kill`, `remove`, or `remvalue` the variable is deleted from `values`.

See `functions` for a list of user defined functions.

Examples:

First, `values` shows the symbols `a`, `b`, and `c`, but not `d`, it is not bound to a value, and not the user function `f`. The values are removed from the variables. `values` is the empty list.

```          (%i1) [a:99, b::a-90, c:a-b, d, f(x):= x^2];
2
(%o1)                     [99, 9, 90, d, f(x) := x ]
(%i2) values;
(%o2)                              [a, b, c]
(%i3) [kill(a), remove(b,value), remvalue(c)];
(%o3)                          [done, done, [c]]
(%i4) values;
(%o4)                                 []```

There are also some inexact matches for `values`. Try `?? values` to see them.

```(%o1)                                true
(%i2) ```

### Related Examples

a: 5;

b:7;

values;

Calculate

##### values

mylist: [10, 20, 30];

values;

Calculate

values;

Calculate

a:1;

b:2;

c:a+b;

Calculate

##### values

:lisp (values ...

Calculate

##### values

:lisp (defvar *my-lis...

:lisp (defun count-no...

:lisp (count-nodes *m...

Calculate

a:1;

b:a;

c:b;

Calculate

a:1;

b:a;

c:b;

Calculate

##### values

:lisp (values ...

Calculate

##### values

a2: rand_with_step(-5...

a1: rand_with_step(-5...

a0: rand_with_step(-5...

Calculate