Click or drag to resize
Flow of Control Functions

[This is preliminary documentation and is subject to change.]

Because TOPICA Basic cannot be used to write multi-statement blocks of code, there is no "flow of control statements" like branches, loops, etc. as found in most programming languages.

To implement conditional evaluations, use the following functions:

TOPICA Basic Conditional Functions

Name

Description

If

Selection between two values (true/false)

Switch

Multi-way selection

Catch

Exception handling