Difference between revisions of "Scripting Guide"

(wiki->docs)
 
(One intermediate revision by one other user not shown)
Line 2: Line 2:
  
  
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 four 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 30: 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.