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

Algebra Calculator

#### Labels

Function: labels (<symbol>) -- System variable: labels Returns the list of input, output, or intermediate expression labels which begin with <symbol>. Typically <symbol> is the value of `inchar`, `outchar`, or `linechar`. The label character may be given with or without a percent sign, so, for example, `i` and `%i` yield the same result.

If no labels begin with <symbol>, `labels` returns an empty list.

The function `labels` quotes its argument. The quote-quote operator defeats quotation. For example, `labels (`inchar) returns the input labels which begin with the current input label character.

The variable `labels` is the list of input, output, and intermediate expression labels, including all previous labels if `inchar`, `outchar`, or `linechar` were redefined.

By default, Maxima displays the result of each user input expression, giving the result an output label. The output display is suppressed by terminating the input with `\$` (dollar sign) instead of `;` (semicolon). An output label is constructed and bound to the result, but not displayed, and the label may be referenced in the same way as displayed output labels. See also `%`, `%%`, and `%th`.

Intermediate expression labels can be generated by some functions. The flag `programmode` controls whether `solve` and some other functions generate intermediate expression labels instead of returning a list of expressions. Some other functions, such as `ldisplay`, always generate intermediate expression labels.

See also `inchar`, `outchar`, `linechar`, and `infolists`.

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

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

### Related Examples

##### labels-lambda-length-let

:lisp (list-all-packa...

:lisp (length (list-a...

:lisp (defun search-p...

Calculate

labels;

Calculate

##### labels-lambda-let

:lisp (lisp-implement...

:lisp (apropos 'carte...

:lisp (defun cartesia...

Calculate

##### labels-lambda

:lisp (lisp-implement...

:lisp (apropos 'carte...

:lisp (defun cartesia...

Calculate

##### labels-lambda-let

:lisp (lisp-implement...

:lisp (apropos 'carte...

:lisp (defun cartesia...

Calculate

##### labels-lambda-let

:lisp (lisp-implement...

:lisp (apropos 'carte...

:lisp (defun cartesia...

Calculate

##### labels-lambda-length-let

:lisp (list-all-packa...

:lisp (length (list-a...

:lisp (defun search-p...

Calculate

? labels;

Calculate

##### labels-lambda

:lisp (lisp-implement...

:lisp (apropos 'carte...

:lisp (defun cartesia...

Calculate

##### labels-lambda-let

:lisp (lisp-implement...

:lisp (apropos 'carte...

:lisp (defun cartesia...

Calculate