Using NS3000/iX Network Services (36920-90008)

196 Chapter 8
NetCI
LET Statement
LET Statement
The LET statement assigns a value to a variable, or a variable to a
variable.
The LET statement consists of the equal sign which is an assignment
operator. It does not indicate equality but is a signal that the value or
variable on the right of the equal sign be assigned to the variable on the
left.
Syntax
LET variable = value
Parameters
variable Specifies the variable to which the value is assigned.
The variable must begin with an alpha character and
cannot be numeric, greater than 15 characters, or a
node or list name.
value Specifies a constant between -32,768 and 32,767 or a
variable identifier.
Discussion
This statement can be entered interactively or specified in a script file.