## `Pref::matrixSeparator` -- sets the separator of matrix entries

#### Introduction

`Pref::matrixSeparator(`" "`)` sets the separator of matrix entries to be a space.

#### Call(s)

`Pref::matrixSeparator( <string>)`

#### Parameters

`string` | - | string, that separates matrix entries for printing, or `NIL`

#### Returns

the previously defined string

#### Related Functions

`print`

#### Details

- The default value is `", "`. The separator string should not contain a tabulator, and should be at least one character.
- A call of `Pref::matrixSeparator` without arguments returns the current value. The argument `NIL` resets the default value.
- The setting of `Pref::matrixSeparator` only configures the ASCII output with `PRETTYPRINT` set to `TRUE`. It does not influence the typesetting output.

#### Example 1

    >> A:= array(1..2, 1..2, [[1, 2], [2, 3]])

                                    +-      -+
                                    |  1, 2  |
                                    |        |
                                    |  2, 3  |
                                    +-      -+

    >> Pref::matrixSeparator("   "):
       A

                                    +-       -+
                                    |  1   2  |
                                    |         |
                                    |  2   3  |
                                    +-       -+

#### Changes

- no changes

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