Difference between revisions of "Scripting Guide"
m |
|||
Line 1: | Line 1: | ||
This Guide describes Analytica's Scripting language. You may use it in three places: | This Guide describes Analytica's Scripting language. You may use it in three places: | ||
− | |||
* In the Typescript Window | * In the Typescript Window | ||
* As the parameter to EvaluateScript(script) function. | * As the parameter to EvaluateScript(script) function. | ||
+ | * Script attribute of Buttons or User input variables: The Script is executed when you click a button or make a change to a user input variable. Since Analytica 4.6, the Script attribute has been replaced by [[OnClick]] and [[OnChange]] attributes, which use standard Analytica syntax, which is easier to use. It still supports the Script attribute for backward compatibility. | ||
* For ADE (Analytica Decision Engine), you may pass a script in a message to ADE. | * For ADE (Analytica Decision Engine), you may pass a script in a message to ADE. | ||
Revision as of 17:27, 1 June 2015
This Guide describes Analytica's Scripting language. You may use it in three places:
- In the Typescript Window
- As the parameter to EvaluateScript(script) function.
- Script attribute of Buttons or User input variables: The Script is executed when you click a button or make a change to a user input variable. Since Analytica 4.6, the Script attribute has been replaced by OnClick and OnChange attributes, which use standard Analytica syntax, which is easier to use. It still supports the Script attribute for backward compatibility.
- For ADE (Analytica Decision Engine), you may pass a script in a message to ADE.
Scripting is usually of value only to advanced Analytica users, who may wish to create libraries or buttons for use by others.
Objects and Their Attributes (con't)
Comments
Enable comment auto-refresher