Algosim documentation: setting

setting

Returns a structure containing information about an Algosim setting.

Syntax

Description

If s is the name of an Algosim setting (as a string), then setting(s) returns a structure (of type Structure) describing this setting. This structure contains the name, description, data type, default value, and current value of the setting.

Examples

setting("Numerics_ContourSamplesPerAxis")
name: Numerics_ContourSamplesPerAxis
type: Integer
value: 500
default: 500
description: The default number of samples per axis used when sampling scalar fields
to produce contour plots or implicit graphs. More precisely, the square of this value
is used as the default number of total samples.

Display the names of all settings that have been changed from their default value:

filter(settings(), (s ↦ (S ≔ setting(s); S.default ≠ S.value)))
ThemeColor
ProgEd_ShowTree
Console_QuerySave

See also