beautypg.com

Expressions, String expressions, Numeric expressions – Visara Master Console Center Scripting Guide User Manual

Page 41: String expressions numeric expressions

background image

Chapter 3 Script Syntax

Scripting Guide

41

Expressions

There are two types of expressions, String and Numeric.

String Expressions

String expressions are one or more character strings used in a line of code
in a script.
For example, in the following line, "$Old1 + $Old2" is a string expression
of concatenating two strings together.

$NewString := $Old1 + $Old2

Numeric Expressions

Numeric expressions are plain mathematical expressions that calculate
another numeric value for use in a script. Numeric expressions can only
be performed on integers. For more information on numeric expressions,
refer to Variables on page 36.