Scripts

Models can be defined using scripts. Use the Edit/Script editor option, to make the script developing environment visible. Scripts can be written using VBscript or JScript, which are the MS Windows implementation of the Visual basic and Java scripts. Support for other script languages can be also installed - Python, Perl etc.

By default all scripts are VBscript. The name of the script language is specified on the first line of the script,

'script language = VBscript

The first function of in the script must be called 'MAIN'. There could be more than one functions, but during optimization and contour surface plots, the one called 'MAIN' will be executed.

The script uses standard Visual Basic commands. Read more about this here: http://msdn2.microsoft.com/en-us/library/t0aew7h6.aspx

To communicate results to and from QstatLab - use the QS object. Here are the properties and methods of this object:

See also

 

Back to Data Entry