Statements

<< Click To Display Table Of Contents >>

You Are Here:  MADRIX Script (Introduction) > Basics >

Statements

Introduction

There are different statements available in a script, for example the if statement or the call statement to call functions. Those will be described later on in this chapter. Another statement is the expression statement. A statement is an expression statement if it is followed by a semicolon. For example:

i = i + 1;
InitEffect();
 

Using Blocks

A block is started and finished (opened and closed) with the help of curly brackets. Blocks may be used to group different statements together. There are also different statements which require a block if more than one statement should be executed. For example the while or the if statement are good examples.

 

MADRIX 3.23.
[Ctrl & +/-] = Zoom In/Out | [Ctrl & 0] = 100%

 

 Previous     Next

 


Enable Automatic Translation | Activer La Traduction Automatique | 启用自动翻译