General SVB Documentation
- General Visual Basic Syntax Documentation - Interactive WinWrap Help Engine
- Variable and Function Naming Conventions
When naming functions, variables, and subroutines, there are a few rules and considerations that need to be applied. - How to Specify Arrays in Statistica Visual Basic Functions
- How Do I Specify a Conditional Instruction?
There are two different types of conditional evaluations in STATISTICA Visual Basic: the If...Then block and the Select Case block. - Controlled Loops
To create a controlled loop, you must use the For...Next loop structure. This loop structure requires a counter variable to keep track of the current loop iteration along with the specification of how many loops should be ran. The following example demonstrates a For loop that doubles a variable's value: - Example - Recording an Analysis Macro
- Macro Type
- Debugging a Macro Program
Once a macro program has been specified, the Statistica Visual Basic environment provides powerful methods for testing and debugging the program. You can set individual breakpoints in the program where you want the program to stop temporarily to allow you to look at the values of variables at that point (you can set and clear breakpoints by pressing F9 or clicking the Toggle breakpoint toolbar button). You can step through the program by using SHIFT+F8 or the Step over toolbar button. - General Help Features of the Statistica VB Environment
Statistica Visual Basic is a powerful programming environment with various features to facilitate the development, editing, and debugging/testing of macro programs. - Speeding Up the Execution (Loading) of Statistica Visual Basic Programs by Removing Unnecessary References (Type Libraries)
- Calling Functions in External DLLs
- How to use Strings in Statistica Visual Basic
Statistica Visual Basic supports the use of text values called strings. Strings can be used either directly or by using string variables. When strings are used directly, they need to be enclosed in double quotes. For example:
Copyright © 2021. Cloud Software Group, Inc. All Rights Reserved.