Difference between revisions of "Typescript"
Line 3: | Line 3: | ||
'''Button scripts''' appear in the Script Attribute of Buttons. Clicking on a Button executes its Script. | '''Button scripts''' appear in the Script Attribute of Buttons. Clicking on a Button executes its Script. | ||
− | The '''Typescript window''' lets you interact with Analytica by typing commands, like the '''CMD''' in Windows or a Unix shell script. You open the Typescript window by pressing ''control-'' (control and single quote). When you type a command into the Typescript, Analytica executes it as soon as you type return. It prints the results as text in the same window. | + | The '''Typescript window''' lets you interact with Analytica by typing commands, like the '''CMD''' in Windows or a Unix shell script. You open the Typescript window by pressing ''control-'' (control and single quote) or F12 (Function Key 12). When you type a command into the Typescript, Analytica executes it as soon as you type return. It prints the results as text in the same window. |
You can execute Typescript commands within any Analytica expression using the function EvaluateScript(t). Its parameter t may be any typescript command. | You can execute Typescript commands within any Analytica expression using the function EvaluateScript(t). Its parameter t may be any typescript command. |
Revision as of 19:47, 28 February 2008
Typescript is a variant of the Analytica modeling language that is used in Button scripts and the Typescript window. It offers some commands and supports some syntax not part of the standard Analytica modeling language.
Button scripts appear in the Script Attribute of Buttons. Clicking on a Button executes its Script.
The Typescript window lets you interact with Analytica by typing commands, like the CMD in Windows or a Unix shell script. You open the Typescript window by pressing control- (control and single quote) or F12 (Function Key 12). When you type a command into the Typescript, Analytica executes it as soon as you type return. It prints the results as text in the same window.
You can execute Typescript commands within any Analytica expression using the function EvaluateScript(t). Its parameter t may be any typescript command.
Enable comment auto-refresher