New Macro

STATISTICA provides the means for automatic scripting (programming) of the statistical/graphical procedure that you are currently using. This facility is accessible via all STATISTICA dialog boxes by selecting Create Macro from the button drop-down list. Select Create Macro to display the New Macro dialog box, where you can access options to create a new macro file (*.svb). For more details on macros and how they are used in STATISTICA, see the Macro Overview.

Name
Type a name for the new macro in the Name box. Macro names can contain alphanumeric characters as well as various other characters (e.g., ?, #, $, ...). You must enter a name in this box before STATISTICA will create the macro.

Description. Type a detailed description of the macro's purpose, behavior, and any other pertinent information in the Description box. For example, you may want to describe what its uses are and who created it. Entering text in this box is optional.

Scripting language
Select the scripting language (available with your installation of STATISTICA) you want to use for the new macro from the Scripting language list.
Force variables to be defined (Option Explicit)
Select the Force variables to be defined (Option Explicit) check box to force all variables to be explicitly declared prior to using them. By default, if a variable is referenced without being declared, Visual Basic will implicitly create the variable of type variant. Select the Force variables to be defined (Option Explicit) check box to disable this feature. See Declaring a Variable for further details about variable declarations. Note that all options can also be changed later, by including or excluding the respective commands from the actual macro program.
Array indices start at one (Option Base 1)
Select the Array indices start at one (Option Base 1) check box to force all of your arrays to begin indexing at one, rather than zero. See also, Array Indexing. Note that all options can be changed later by including or excluding the respective commands from the actual macro program.
Include STATISTICA BASIC Library
Select the Include STATISTICA BASIC Library check box to include the STATISTICA Basic analysis, graph, and matrix libraries into the macro.
OK
Click the OK button to create the macro in the STATISTICA Visual Basic Editor.
Cancel
Click the Cancel button to close this dialog box and return to the previous dialog box.