Operator's Manual
278 ISSUED: October 2003 WR6K-OM-E Rev A
For K = 3 To 82 Step 4
AnyVBScripting
Next K
You may place loops inside one another (nested loops), but they must all use different control
variables. Example:
For K = 0 To N
VBScriptingK
For L = - 7 To 17
VBScriptingL
For M = S To T
VBScriptingM
Next
Next
Next
VBS keywords and functions
The ones in italics do not apply to the instrument.
+
Add two values or concatenate two strings.
-
Subtract two values.
*
Multiply two values.
/
Divide two values.
\
Divide two values to obtain an integer result
Abs
Make absolute value.
Asc
Make ASCII value of a character.
Atn
Make tan
-1
of a value. Result in range from -π /2 to +π /2 radians.
Cdbl
Convert a value to double precision floating point.
Chr
Create a character from an integer in range 0 to 255.
Cint
Convert a value to nearest integer in the range -32768 to +32767
Clng
Convert a value to nearest long integer in the range -2
31
to +2
31
- 1.
Close
Close a file.