7.1.1 =
- Purpose
-
Assigns the value on the right side to the variable on the left.
- Syntax
Result = Expression
- Arguments
-
- Result
-
Write the variable name in which to set the value.
- Expression
-
Write any expression.
- Description
-
The equals operator (=) assigns the value of Expression to the variable Result.
If the value of Expression is Empty, an Empty value is assigned to the variable Result. If the value is assigned to a variable that has not been declared with the Dim command, the system automatically allocates the variable and then assigns the value.
- Examples
' Store "ABCDE" in variable result1. result1 = "ABCDE" ' Store 200 in variable result2. result2 = 50 + 150 ' Store the current date in variable result3. result3 = Date
- JP1/Script version
-
Supported from JP1/Script 01-00.