X-Stream Operator’s Manual
WM-OM-E Rev I 299
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.
Cos
Make the cosine of an angle expressed in
radians.
Csng
Convert a number to single precision floating
point.
Cstr
Convert a variable to a string.
Exp
Raise e to the power of the input.
Get
Get a value from a file.
Input
Get some ASCII data from a file.
Instr
Find the position of a string in a longer string.
Int
Convert to nearest integer below the input value.
Left
Take some characters at the left end of a string.