Assigning a value to a variable

A script can at any point change the value of a previously defined variable by assigning a new expression or value to this variable.

Syntax

name = expression;

The expression is evaluated at the moment the assignment is executed.

Example

This is the script body.

Var Text name = "My Name"; 	
Var Number mynumber;			
Var Boolean yes_or_no = True;

This is the remaining script.

name = "his name";			
mynumber = (12 + 13)/2; 		
yes_or_no = 1 < mynumber;