New Variable


The New Variable script command defines a new variable and initialize its value on the first execution. Once the variable is created and initialized, it is not reset each time the script may be automatically repeated.

Syntax: New Variable Literal init Expression Comment
Example: New Variable well init Create a new variable called well
Example: New Variable metric init 0 Create a new variable called metric with initial value 0
Example: New Variable today init Left(timestamp,8) Create a new variable for today, using an expression to initialize it to today's date


© 2014 ComroeStudios LLC. All Rights Reserved.