.. highlightlang:: us .. index:: config .. _config: config ====== .. us.tag config NOTREADYENGLISH Changed5306 :ref:`config` sets and retrieves the UniScript configuration. .. function:: r = config() r = config(ssConfig) r = config(ssConfig, sParam) .. us.return **Return Value** *r* returns depending on *ssConfig* the current settings. .. us.params **Parameters** .. uparam:: ssConfig *ssConfig* can be one of the following values: .. list-table:: :header-rows: 1 * - Value - Meaning * - "Language" - Changes the language for error and other messages. The parameter *Param* can be set to the values "German" or "English". * - "ErrorOutput" - Specifies the error output: If *Param* == 1 no error messages are generated. If *Param* == 2 the error messages are send to the command window. If *Param* == 3 the error messages are send to a message box. If *Param* == 4 the error messages are send to the command window and to a message box. * - "no-global-redeclaring" - Compatibility flag UniPlot 3 and UniPlot 4. .. uparam:: Param siehe *ssConfig*. .. us.comment **Comment** If the function is called without any parameters the settings are set to the default values. If the function is called only with the parameter *ssConfig* the setting is returned. .. us.history **History** .. list-table:: :header-rows: 1 * - Version - Description * - 5.30.6 - The "Language" option should not be used any longer. Use the :ref:`get_language` function instead. .. seealso:: :ref:`overview-programming`, :ref:`format` :sub:`id-258531`