Difference between revisions of "Scripting Guide"

(wiki->docs)
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
[[Category: Analytica Scripting Guide]]
 
[[Category: Analytica Scripting Guide]]
  
<breadcrumbs>Analytica Scripting Guide > {{PAGENAME}}</breadcrumbs>
 
  
 
+
This Guide describes Analytica's Scripting language. You may use it in four 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.
* 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.
 
  
 
Scripting is usually of value only to advanced Analytica users, who may wish to create libraries or buttons for use by others.
 
Scripting is usually of value only to advanced Analytica users, who may wish to create libraries or buttons for use by others.
Line 16: Line 14:
 
* [[ADE Scripting Guide Introduction|Introduction]]
 
* [[ADE Scripting Guide Introduction|Introduction]]
 
* [[Objects and Their Attributes - Part 1 of 3|Objects and Their Attributes]]
 
* [[Objects and Their Attributes - Part 1 of 3|Objects and Their Attributes]]
* [[Objects and Their Attributes - Part 1 of 3|Objects and Their Attributes (con't)]]
+
* [[Objects and Their Attributes - Part 2 of 3|Objects and Their Attributes (con't)]]
* [[Objects and Their Attributes - Part 1 of 3|Objects and Their Attributes (con't)]]  
+
* [[Objects and Their Attributes - Part 3 of 3|Objects and Their Attributes (con't)]]  
 
* [[Files and Editing]]
 
* [[Files and Editing]]
 
* [[Arrays - Part 1 of 2|Arrays]]
 
* [[Arrays - Part 1 of 2|Arrays]]
Line 32: Line 30:
 
* [[ADE User Guide]]
 
* [[ADE User Guide]]
  
<footer>Analytica Wiki / {{PAGENAME}} / Title Page </footer>
+
<footer>Analytica Docs/ {{PAGENAME}} / Title Page </footer>

Latest revision as of 21:11, 7 August 2024


This Guide describes Analytica's Scripting language. You may use it in four places:

  1. In the Typescript Window
  2. As the parameter to EvaluateScript(script) function.
  3. 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.
  4. 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.

Contents

See Also

Comments


You are not allowed to post comments.