Difference between revisions of "Analytica 4.0 beta Release Notes"
Line 30: | Line 30: | ||
(this list is in progress) | (this list is in progress) | ||
− | = Diagrams = | + | == Diagrams == |
* In browse mode, input and output nodes highlight when selected. | * In browse mode, input and output nodes highlight when selected. | ||
Line 37: | Line 37: | ||
* In browse mode, when TAB moves to the next node, text nodes and picture nodes without scripts are skipped. | * In browse mode, when TAB moves to the next node, text nodes and picture nodes without scripts are skipped. | ||
+ | |||
+ | * In browse mode, pressing Enter when an input or output control is selected acts as if the control button was pressed, bringing up the input or result table or opening the choice pulldown. For a choice pulldown, the down-arrow key can also be used. | ||
* When Snap-to-grid is on, or when Shift-arrow is used to move a node when snap-to-grid is off, the selected node moves to the next grid position, rather than moving by one full grid increment if the node is not currently on the grid. | * When Snap-to-grid is on, or when Shift-arrow is used to move a node when snap-to-grid is off, the selected node moves to the next grid position, rather than moving by one full grid increment if the node is not currently on the grid. | ||
Line 42: | Line 44: | ||
* When a variable is defined as a distribution, its class is automatically changed to Chance. (This used to work, but hasn't been working in recent beta releases). | * When a variable is defined as a distribution, its class is automatically changed to Chance. (This used to work, but hasn't been working in recent beta releases). | ||
+ | * After you change the node style (such as font), Analytica will no longer reduce the node size to fit the new text. | ||
− | = Scripting & OLE Linking = | + | == Graphing == |
+ | |||
+ | * The Comparison Index pulldown cannot be changed in browse mode. | ||
+ | |||
+ | * An option has been added that allows font size to automatically grow (or shrink) as you change the size of the graph window. | ||
+ | |||
+ | == Tables == | ||
+ | |||
+ | * It is possible to have different columns in an edit table use different number formats. This makes it possible to have one column that parses dates, and other columns that display percentages and others displaying dollar amounts after a quantity has been entered. In order to make this work, you need a self index with each element having an object identifier. The object pointed to by that handle determines the number format for that column. | ||
+ | |||
+ | * When windows are maximized, some edit tables would sometimes open with the scroll bars in the wrong place. This has been fixed. | ||
+ | |||
+ | == Scripting & OLE Linking == | ||
* Changing the Moniker attribute from a button script now causes an OLE link to re-establish itself to the newly specified data source. This makes it possible for your Analytica model (via a button script) to automatically adjust the data source for OLE linked data. | * Changing the Moniker attribute from a button script now causes an OLE link to re-establish itself to the newly specified data source. This makes it possible for your Analytica model (via a button script) to automatically adjust the data source for OLE linked data. | ||
Line 49: | Line 64: | ||
* If a variable is defined as a Choice, and it Script attribute contains typescript commands, the typescript is run whenever the user changes the selection in the Choice pulldown. | * If a variable is defined as a Choice, and it Script attribute contains typescript commands, the typescript is run whenever the user changes the selection in the Choice pulldown. | ||
− | = Functions = | + | * The typescript command List previously would show local index objects that weren't in the global namespace. These are now not shown by this command. |
+ | |||
+ | * When assignment is used in a button script to copy a value into an edit table, undefined values appear as blank cells in the newly created definition. (Blank cells cause warnings to be issued when evaluated and have other special treatment -- see [[Table Splicing]]). | ||
+ | |||
+ | == Functions == | ||
* The [[Gamma]] distribution function now accepts zero for the first parameter. | * The [[Gamma]] distribution function now accepts zero for the first parameter. | ||
Line 57: | Line 76: | ||
* The [[Unique]] function accepts an optional position parameter. When set to true, e.g., Unique(A,I,position:true), the index positions are returned rather than the index values. This is the positional dual of Unique(A,I). | * The [[Unique]] function accepts an optional position parameter. When set to true, e.g., Unique(A,I,position:true), the index positions are returned rather than the index values. This is the positional dual of Unique(A,I). | ||
− | = ADE = | + | * The two-parameter [[Slice]](A,n) usage can now be used to slice a multi-dimensional array A on its list-dimension when A has an implicit dimension. |
+ | |||
+ | == Misc == | ||
+ | |||
+ | * The system index Run now uses Integer number format by default. | ||
+ | |||
+ | == ADE == | ||
+ | |||
+ | * Tables in Analytica can utilize different number formats for each column. This happens if the self-index value for the table contains object [[Handle|handles]], in which case the number format for the object pointed to is used. ADE's CARenderingStyle::NumberAsText now utilizes this, so that the column-specific number format is used, as it is in the Analytica UI. | ||
+ | |||
+ | * CATable::SetDataByElements rejected the first parameter when a VARIANT containing a BY_REF-VARIANT was passed in. It was found that VB 6.0 and CScript would occassionally pass this combination. | ||
* The method CARenderingStyle::VarTermFormat has been deprecated and renamed to CARenderingStyle::HandleFormat. (The old method name still works, but the new name more consistently reflects current terminology). | * The method CARenderingStyle::VarTermFormat has been deprecated and renamed to CARenderingStyle::HandleFormat. (The old method name still works, but the new name more consistently reflects current terminology). | ||
* CAObject::CreateDefTable - when a non-existant index is passed, no error condition was being signaled. This was fixed. | * CAObject::CreateDefTable - when a non-existant index is passed, no error condition was being signaled. This was fixed. | ||
+ | |||
+ | * When CATable::Subscript is used to slice on an index element that is a [[Handle]], by passing a string containing the object's identifier, this previously worked only if the string was upper case, but is now case insensitive. | ||
+ | |||
+ | * Using ADE.exe /Regserver, or Regsvr ADE.dll, was not creating every relevant registry key. These have been added. | ||
+ | |||
+ | * CARenderingStyle now has a NullValue property, which functions similarly to the CARenderingStyle::UndefValue property for specifying the value returned when the Analytica cell contains null. | ||
+ | |||
= Previous Beta Builds = | = Previous Beta Builds = |
Revision as of 01:06, 16 August 2007
(Back to Beta Tester Page)
These Release Notes apply to Build 4.0.0.54, 14 Aug, 2007.
Installation Notes
- Analytica 4.0 can coexist with Analytica 3.1 on the same computer. Thus, you can install Analytica 4.0 beta while retaining Analytica 3.1. After installing 4.0, a double-click on a x.ANA file will run the model in 4.0. To run a model with 3.1, start Analytica 3.1, and use the Open Model... option from the File menu to select the model.
- If you uninstall Analytica 3.0 or 3.1 after installing 4.0, it will wipe out the 4.0 registry tree. So, you will need to re-run the 4.0 installer.
Upward compatibility for Models from Analytica 3.1
Most models created in Analyica 3.1 load and evaluate fine in 4.0. We hope beta testers will check that 4.0 works and gives the same results as 3.1 -- unless there is a good reason why they should be different. There are two areas where you should expect results to be different:
- Graph settings: Some Graph Setup options will not transfer to 4.0, because 4.0 offers different (and much richer) graphing options. For example, settings for axis ranges in 4.0 may attach to the Index rather than the graph. So, expect to do some tweaking of graphs -- and to enjoy the new options.
- 0*NaN and 0*INF: Analytica 4.0 supports the IEEE 754 Binary Floating Point Arithmetic standard: Thus 0*NaN or 0*INF return NaN. In 3.1, the result was zero. If your model took advantage of the old behavior to zero out NaNs or INFs, you may find NaN or Null in downstream results that were not there in 3.1. If you check Show result warnings in the Preference dialog, it will warn you if your model relies on the old behavior and help pinpoint where this occurs.
See Changes in 4.0 that could impact 3.x models for a more comprehensive list.
Not working yet
- There may be some problems saving models in XML format, especially related to system variable settings. For important stuff, stick with the default Analytica file format for now.
- Auto recovery does not correctly recover "Add Linked Module" actions. Some problems after "Add Module". OLE links are not re-established. In the latter two cases, saving the model after crash recovery, then reloading should fix the problem. It is best to save after adding a module or library, rather than relying on auto recovery.
Changes in 4.0.0.54
(since 4.0.0.53)
(this list is in progress)
Diagrams
- In browse mode, input and output nodes highlight when selected.
- Pressing TAB when viewing a diagram moves to the "next" selected node. The order of nodes is now based on the geometric layout of nodes, so the selections tend to move left-to-right, top-to-bottom. Formerly, tab moved in the order in which nodes were created.
- In browse mode, when TAB moves to the next node, text nodes and picture nodes without scripts are skipped.
- In browse mode, pressing Enter when an input or output control is selected acts as if the control button was pressed, bringing up the input or result table or opening the choice pulldown. For a choice pulldown, the down-arrow key can also be used.
- When Snap-to-grid is on, or when Shift-arrow is used to move a node when snap-to-grid is off, the selected node moves to the next grid position, rather than moving by one full grid increment if the node is not currently on the grid.
- When a variable is defined as a distribution, its class is automatically changed to Chance. (This used to work, but hasn't been working in recent beta releases).
- After you change the node style (such as font), Analytica will no longer reduce the node size to fit the new text.
Graphing
- The Comparison Index pulldown cannot be changed in browse mode.
- An option has been added that allows font size to automatically grow (or shrink) as you change the size of the graph window.
Tables
- It is possible to have different columns in an edit table use different number formats. This makes it possible to have one column that parses dates, and other columns that display percentages and others displaying dollar amounts after a quantity has been entered. In order to make this work, you need a self index with each element having an object identifier. The object pointed to by that handle determines the number format for that column.
- When windows are maximized, some edit tables would sometimes open with the scroll bars in the wrong place. This has been fixed.
Scripting & OLE Linking
- Changing the Moniker attribute from a button script now causes an OLE link to re-establish itself to the newly specified data source. This makes it possible for your Analytica model (via a button script) to automatically adjust the data source for OLE linked data.
- If a variable is defined as a Choice, and it Script attribute contains typescript commands, the typescript is run whenever the user changes the selection in the Choice pulldown.
- The typescript command List previously would show local index objects that weren't in the global namespace. These are now not shown by this command.
- When assignment is used in a button script to copy a value into an edit table, undefined values appear as blank cells in the newly created definition. (Blank cells cause warnings to be issued when evaluated and have other special treatment -- see Table Splicing).
Functions
- The Gamma distribution function now accepts zero for the first parameter.
- The Handle function can now be used directly to obtain handles to modules and other non-definable Analytica objects.
- The Unique function accepts an optional position parameter. When set to true, e.g., Unique(A,I,position:true), the index positions are returned rather than the index values. This is the positional dual of Unique(A,I).
- The two-parameter Slice(A,n) usage can now be used to slice a multi-dimensional array A on its list-dimension when A has an implicit dimension.
Misc
- The system index Run now uses Integer number format by default.
ADE
- Tables in Analytica can utilize different number formats for each column. This happens if the self-index value for the table contains object handles, in which case the number format for the object pointed to is used. ADE's CARenderingStyle::NumberAsText now utilizes this, so that the column-specific number format is used, as it is in the Analytica UI.
- CATable::SetDataByElements rejected the first parameter when a VARIANT containing a BY_REF-VARIANT was passed in. It was found that VB 6.0 and CScript would occassionally pass this combination.
- The method CARenderingStyle::VarTermFormat has been deprecated and renamed to CARenderingStyle::HandleFormat. (The old method name still works, but the new name more consistently reflects current terminology).
- CAObject::CreateDefTable - when a non-existant index is passed, no error condition was being signaled. This was fixed.
- When CATable::Subscript is used to slice on an index element that is a Handle, by passing a string containing the object's identifier, this previously worked only if the string was upper case, but is now case insensitive.
- Using ADE.exe /Regserver, or Regsvr ADE.dll, was not creating every relevant registry key. These have been added.
- CARenderingStyle now has a NullValue property, which functions similarly to the CARenderingStyle::UndefValue property for specifying the value returned when the Analytica cell contains null.
Previous Beta Builds
- Analytica 4.0 beta Release Notes/4.0.0.53
- Analytica 4.0 beta Release Notes/4.0.0.51
- Analytica 4.0 beta Release Notes/4.0.0.50
- Analytica 4.0 beta Release Notes/4.0.0.49
- Analytica 4.0 beta Release Notes/4.0.0.47
- Analytica 4.0 beta Release Notes/4.0.0.43
- Analytica 4.0 beta Release Notes/4.0.0.42
- Analytica 4.0 beta Release Notes/4.0.0.39
- Analytica 4.0 beta Release Notes/4.0.0.38
- Analytica 4.0 beta Release Notes/4.0.0.37
- Analytica 4.0 beta Release Notes/4.0.0.34
Comments
Enable comment auto-refresher