## `Pref::report` -- informations during evaluation

#### Introduction

`Pref::report` controls the output of informations during evaluation.

#### Call(s)

`Pref::report(level)`

#### Parameters

`level` | - | integer level between `0` and `9`, or `NIL`

#### Returns

the last defined level

#### Related Functions

`Pref::callBack`

#### Details

- `Pref::report` controls the frequence of report messages of the MuPAD kernel during evaluation.
- A kernel function displayes frequently the three informations memory used, memory reserved and evaluation time in seconds.
- The level `0` disables printing information. If `level` is `1`, about every hour a message will be printed. With `9` as argument the most reports will be printed. The frequency is dependent on the machines speed.
- A call of `Pref::report` without arguments returns the current value. The argument `NIL` resets the default value, which is `0`.

#### Example 1

Frequently information:

    >> Pref::report(9):
       limit((1+1/n)^n,n=infinity)

          [used=1612k, reserved=1738k, seconds=1]
          [used=2716k, reserved=2856k, seconds=2]

                                      exp(1)

Reset to no information:

    >> Pref::report(0):

#### Changes

- The frequency of message was decreased.

Do you have questions or comments?
Copyright © SciFace Software GmbH & Co. KG 2000