Macro Type

Click the Macro Type button on the Macro (SVB) Program tab of the Create New Document dialog box to display the Macro Type dialog box. Use these options to select the type of new macro that you want to create.

Macro Type
When creating a new Statistica Visual Basic (SVB) Macro, select one of the following types of macros from the Macro Type group box: Standard, Code, Object, or Class.
Standard
Select the Standard option button to create a standard stand-alone macro program; a default empty program will be created for you in the program editor (Sub Main ...End Sub). When you save the macro, it will be saved to a file with the default file name extension .svb.
Code
Select the Code option button to create an include file with subroutines, subroutine interfaces, type declarations, etc. When you save this file the contents of the program editor window will be saved to a file with the default file name extension .svx. For example, your installation of Statistica includes the files STB.svx. This file contains the interfaces to all Statistica matrix functions, and it should be included at the beginning at the program ('$Include: "*STB.svx") if it calls any of those functions. Use the Code option to write your own set of standard interfaces, common subroutines, etc. Refer also to the general Statistica Visual Basic documentation for additional details.
Object
Select the Object option button to create a new object module. See Defining Class Modules and Object Modules for additional details. The contents of the program editor will be saved to a file with the file name extension .svo.
Class
Select the Class option button to create a new class module. See Defining Class Modules and Object Modules for additional details. The contents of the program editor will be saved to a file with the file name extension .svc.

OK. Click the OK button to accept the Macro Type you have selected and return to the Create New Document dialog box.

Cancel. Click the Cancel button to return to the Create New Document dialog box. Any changes made in the Macro Type dialog box will be disregarded.

See also, Statistica Visual Basic for additional details.