## `Pref::prompt` -- visible ``prompt''

#### Introduction

`Pref::prompt` determines, whether the string in front of any input line (the ``prompt'') will be printed.

#### Call(s)

`Pref::prompt( <value>)`

#### Parameters

`value` | - | `TRUE` (to enable the prompt), `FALSE` (to disable the prompt), or `NIL`

#### Returns

the last defined value

#### Related Functions

`Pref::promptString`, `Pref::echo`

#### Details

- The ``prompt'' is a string that will be printed in front of each input line to mark it as input line. With `Pref::prompt(`FALSE`)` the ``prompt'' can be disabled (and also be enabled again with `Pref::prompt(`TRUE`)`).
- A call of `Pref::prompt` without arguments will return the current value. The argument `NIL` will reset the default value, which is `TRUE`.

#### Example 1

Disabling the ``prompt'':

    >> Pref::prompt(FALSE):

#### Background

- In combination with `Pref::echo`, MuPAD can be caused to be totally quiet, that only the output can be seen.

#### Changes

- no changes

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