Difference between revisions of "Preferences dialog/How preference dialog settings are represented"

(Created page with "category:System Variables category:Typescript Commands This page documents what actually gets changed when you change a setting on the Preferences dialog, for exa...")
 
 
(6 intermediate revisions by the same user not shown)
Line 7: Line 7:
  
 
::[[image:Preferences_dialog_change_identifier.png]]
 
::[[image:Preferences_dialog_change_identifier.png]]
 +
 +
;SysVar [[Naming]]
 +
: 0=Don't rename  (When title changes unchecked)
 +
: 1=Ask                    (Both checked )
 +
: 2=Don't ask          (When title changes checked, Ask before renaming unchecked)
 +
: 5=Ask then backquote
 +
: 6=Don't ask then backquote
 +
 +
; SysVar [[NameSize]]
 +
: Max number of characters in auto-generated (from title) identifier
  
 
== X+Y Opens ==
 
== X+Y Opens ==
 
:[[image:Preferences_dialog_x+y+opens.png]]
 
:[[image:Preferences_dialog_x+y+opens.png]]
 +
 +
; SysVar [[Editor]]:
 +
: 0 = Object window
 +
: 1 = Attribute panel
  
 
== Default result view ==
 
== Default result view ==
 
:[[image:Preferences_dialog_default_result_view.png]]
 
:[[image:Preferences_dialog_default_result_view.png]]
 +
 +
; Table:
 +
: <code>SysVar [[UseTable]] := 0</code>
 +
; Graph:
 +
: <code>SysVar [[UseTable]] := 1</code>
 +
 +
Yes, this polarity is backwards.
  
 
== Personal preferences ==
 
== Personal preferences ==
 
::[[image:Preferences_dialog_personal_preferences.png]]
 
::[[image:Preferences_dialog_personal_preferences.png]]
 +
 +
These preferences are not saved with your model, but are retained in the registry as your personal preferences. The registry settings shown here are in the hive:
 +
:<code>HKEY_CURRENT_USER/Software/Lumina Decision Systems/Analytica</code>
 +
 +
{| border="1"
 +
! Preference !! System variable !! Registry setting
 +
|-
 +
| Use Return to enter data || [[SwapEnterReturn]] || SwapEnterReturn
 +
|-
 +
| Maintain recovery info || [[AutosaveMode]] || AutosaveMode
 +
|-
 +
|Expression assist || [[Sys_IntelliSense]]
 +
* 0 = off
 +
* 3 = on
 +
| ExpressionAssist
 +
|-
 +
| Syntax error underlining || [[Sys_EnableErrorUnder]] || EnableErrorUnderlining
 +
|-
 +
| Fixed font in expression fields || [[Sys_EnableFixedFont]] || EnableFixedFont
 +
|-
 +
| Syntax coloring in definitions || [[Sys_EnableSyntaxColo]] || EnableSyntaxColoring
 +
|-
 +
| Help balloons || [[Sys_BalloonHelp]] (bit 1) || BalloonHelp
 +
|-
 +
| ...only in browse mode || [[Sys_BalloonHelp]] (bit 2) || BalloonHelp
 +
|-
 +
| Large text in attributes &amp; tables
 +
| [[AttributeFontSize]] (13=on, 10=off)<br/>
 +
[[TableFontSize]] (13=on, 10-off)
 +
| AttributeFontSize<br/>
 +
TableFontSize
 +
|-
 +
| Max open windows || [[MaximumOpenWindows]] || MaxOpenWindows
 +
|}
  
 
== Model preferences ==
 
== Model preferences ==
 
::[[image:Preferences_dialog_model_preferences.png]]
 
::[[image:Preferences_dialog_model_preferences.png]]
 +
 +
{| border="1"
 +
! Preference !! System variable
 +
|-
 +
| Check variable class || [[TypeChecking]] (0=off, 1=on)
 +
|-
 +
|  Check value bounds || [[Checking]] (bit 1)
 +
|-
 +
|  ...against Check attribute || [[Checking]] (bit 2)
 +
|-
 +
|  ...against Domain bounds || [[Checking]] (bit 4)
 +
|-
 +
|  Show undefined
 +
| [[ShowUndef]]
 +
* 0=off
 +
* 1=on (hatch when either defn or check is unparseable)
 +
* 2=hatch when def is unparsed, but check attribute doesn't impact
 +
|-
 +
| Show result mode icons  || [[NodeInfo]]::showformicon of [[FormNode]]
 +
|-
 +
|  Flag nodes without descriptions || [[ShowDescriptionMarks]]
 +
|-
 +
|  Show module hierarchy || [[ShowHier]]
 +
|-
 +
|  Show result warnings || [[AllWarnings]]
 +
|-
 +
|  Auto recompute outgoing OLE links || [[OleAutoRecompute]]
 +
|-
 +
|  Use Excel date origin || [[Sv__DateOriginOffset]]
 +
* 0 = off (1-Jan-1904)
 +
* -1462 = on (30-Dec-1899)
 +
|}
  
 
== Legacy model settings ==
 
== Legacy model settings ==
 
::[[image:Preferences_dialog_legacy_model_settings.png]]
 
::[[image:Preferences_dialog_legacy_model_settings.png]]
 +
 +
{| border="1"
 +
!! Preference !! System variable or attribute
 +
|-
 +
| Domain acts as self index || [[Sys_DomainSelfIndex]]
 +
|-
 +
| Proactively evaluate indexes || [[ProactivelyEvaluate]] of Index (1 bit)
 +
|-
 +
| Deprecated x+y behavior for text || [[PlusOnTextReturnsNaN]]
 +
* 0 = on (legacy)
 +
* 1 = off
 +
|-
 +
| m..n decrements when m>n || [[Sys_DotDotSequenceIsStrict]]
 +
* 0 = on (legacy)
 +
* 1 = off
 +
|}
  
 
== See also ==
 
== See also ==
 
* [[Preferences dialog]]
 
* [[Preferences dialog]]

Latest revision as of 22:03, 23 January 2025


This page documents what actually gets changed when you change a setting on the Preferences dialog, for example, which system variable is set, etc. Please see Preferences dialog for a description of what of each preference setting does.

Change identifier

Preferences dialog change identifier.png
SysVar Naming
0=Don't rename (When title changes unchecked)
1=Ask (Both checked )
2=Don't ask (When title changes checked, Ask before renaming unchecked)
5=Ask then backquote
6=Don't ask then backquote
SysVar NameSize
Max number of characters in auto-generated (from title) identifier

X+Y Opens

Preferences dialog x+y+opens.png
SysVar Editor
0 = Object window
1 = Attribute panel

Default result view

Preferences dialog default result view.png
Table
SysVar UseTable := 0
Graph
SysVar UseTable := 1

Yes, this polarity is backwards.

Personal preferences

Preferences dialog personal preferences.png

These preferences are not saved with your model, but are retained in the registry as your personal preferences. The registry settings shown here are in the hive:

HKEY_CURRENT_USER/Software/Lumina Decision Systems/Analytica
Preference System variable Registry setting
Use Return to enter data SwapEnterReturn SwapEnterReturn
Maintain recovery info AutosaveMode AutosaveMode
Expression assist Sys_IntelliSense
  • 0 = off
  • 3 = on
ExpressionAssist
Syntax error underlining Sys_EnableErrorUnder EnableErrorUnderlining
Fixed font in expression fields Sys_EnableFixedFont EnableFixedFont
Syntax coloring in definitions Sys_EnableSyntaxColo EnableSyntaxColoring
Help balloons Sys_BalloonHelp (bit 1) BalloonHelp
...only in browse mode Sys_BalloonHelp (bit 2) BalloonHelp
Large text in attributes & tables AttributeFontSize (13=on, 10=off)

TableFontSize (13=on, 10-off)

AttributeFontSize

TableFontSize

Max open windows MaximumOpenWindows MaxOpenWindows

Model preferences

Preferences dialog model preferences.png
Preference System variable
Check variable class TypeChecking (0=off, 1=on)
Check value bounds Checking (bit 1)
...against Check attribute Checking (bit 2)
...against Domain bounds Checking (bit 4)
Show undefined ShowUndef
  • 0=off
  • 1=on (hatch when either defn or check is unparseable)
  • 2=hatch when def is unparsed, but check attribute doesn't impact
Show result mode icons NodeInfo::showformicon of FormNode
Flag nodes without descriptions ShowDescriptionMarks
Show module hierarchy ShowHier
Show result warnings AllWarnings
Auto recompute outgoing OLE links OleAutoRecompute
Use Excel date origin Sv__DateOriginOffset
  • 0 = off (1-Jan-1904)
  • -1462 = on (30-Dec-1899)

Legacy model settings

Preferences dialog legacy model settings.png
! Preference System variable or attribute
Domain acts as self index Sys_DomainSelfIndex
Proactively evaluate indexes ProactivelyEvaluate of Index (1 bit)
Deprecated x+y behavior for text PlusOnTextReturnsNaN
  • 0 = on (legacy)
  • 1 = off
m..n decrements when m>n Sys_DotDotSequenceIsStrict
  • 0 = on (legacy)
  • 1 = off

See also

Comments


You are not allowed to post comments.