You are here: Scripting Reference > Statements > Assignment

Assignment

Structure

<variable> := <expression>

Example
ClosedSet a variable to a hard-coded value
ClosedSet a variable to the value of another variable
ClosedSet a variable to the result of a function
Description

Assignment is used to set a variable to a value. The variable to be set is on the left hand side, the value to set it to is on the right hand side.

Assignment is performed using the := operator which is called the See "Assignment Operator". Note the colon proceeding the equal sign - it should not be confused with a = operator used to compare values (Refer See "Relational Operators")