Scripting
|
You an select a default script to use when creating macros, from this drop-down list. Select from the following three options.
|
Enhanced Statistica Visual Basic
|
A superset of Statistica Visual Basic, the Visual Basic for Applications (VBA, TM) compatible scripting language. It includes additional features that are not VBA compatible. There are some new features.
- Data Types: Decimal, SByte, UHuge_, UInteger, and ULong
- Conversion Functions: CSByte, CUHuge_, CUInt, and CULng
- Operators: AndAlso, IsNot, OrElse
- Return Instruction (example, Return x from a function as an alternative to FuncName = x)
|
Statistica Visual Basic
|
The Statistica library of classes and functions fully integrated with the Visual Basic language.
|
Statistica Visual Basic.NET
|
Using this language requires that you have the Microsoft .NET Framework 2.0 installed on your system. This language features direct, native access to .NET Assemblies, that is, not through COM Interop as would be required from standard SVB.
|
Font
|
Specifies a font and type size to use in macro windows. Use the drop-down box to select the font and the adjacent type size box to enter or select a type size.
|
Enable Events
|
Select this check box to enable events. If this check box is cleared, events are disabled.
|
Default Color Scheme
|
Use the drop-down lists in this group box to change the default colors of your Statistica Visual Basic code. By default Statistica uses the same colors as Microsoft Visual Basic.
|
Reserved
|
Select the color for reserved code in this box. Reserved words are keywords within the Visual Basic language, such as
For,
XOR, and
Function.
|
Extensions
|
Select the color for extensions code in this box. Extensions are Statistica extensions to the Visual Basic library and language. Examples of these include data types such as
Workbook,
Spreadsheet, and
CommandBar, and member functions/properties such as AnalysisOption.HideOnDeselect and CaseWeight.Type.
|
Built In
|
Select the color for built in code in this box. Built in words are functions that are already built into the Visual Basic language and can be called directly. Examples of these are
Round(),
RGB(), and
Shell().
|
Comments
|
Select the color for comments in this box. Comments are any text following either an apostrophe or the keyword
REM up until the end of the current line. Comment text is readable to you, but it is not interpreted by Statistica while the macro is running.
|
Restore Defaults
|
Returns the Statistica color scheme to its default values.
|
Type Library References
|
Use the options in this group box to manage the references used by your macro applications. This will enable you to control the libraries that are included with every new macro. You can choose to include all of the Statistica libraries along with the libraries provided by Microsoft Office, or you could not include any libraries at all. Note that the number of references included within a macro linearly affect the speed at which it opens, saves, and processes. For example, if you are planning to create small Visual Basic scripts that do not take advantage of Statistica collection of functions, then not including any references might be recommended to maximum optimization.
|
Edit
|
Displays the
References dialog box, which is used to edit the list of type library references that each new macro has by default.
|
Restore Defaults
|
Restores the references to their original state (that is, reverts to using only Statistica libraries).
|
Display warning when opening Statistica with event Macros enabled
|
Select this check box if you want to be warned when you open Statistica when event macros are enabled.
|
Display warning when opening a document with event Macros
|
Select this check box if you want to be warned when you open a document that contains event macros.
|
Do not display STB Import warning
|
Select this check box if you do not want to see a warning stating that imported Statistica Visual Basic programs may not work correctly when you import a program from an earlier version of Statistica.
|
Do not display SCL Import warning
|
Select this check box if you do not want to see a warning stating that imported SCL programs might not work correctly when you import an SCL program from an earlier version of Statistica.
|
Show references dialog when pasting macro text
|
Select this check box to specify that the
Add Macro References dialog box is displayed when pasting macro text. In this dialog box, you can specify whether to add the macro references from the source macro.
|