Teledyne LeCroy WaveExpert 100H Operators Manual User Manual
Page 287

Wave Expert
WE-OM-E Rev A
285
Right
Take some characters at the right end of a string.
Rnd
Make a random real number in the range from
0.0 to 1.0
Rtrim
Remove spaces from right hand end of a string.
Sin
Make the sine of an angle expressed in radians.
Sqr
Make the square root of a positive number.
Str
Make a string from a numerical value.
Timer
Time since midnight in seconds, with a resolution
of one second.
Trim
Remove leading and trailing spaces from a
string.
Val
Get the ASCII value of a string beginning with
numerical characters.
Other VBS Words
Const
Define a constant value.
Dim
Dimension a variable.
Redim
Dimension a variable again.
Boolean
Boolean variable
Double
Double precision real variable.
Integer
Integer in the range -32768 to + 32767
Long
Long integer in the range -2
31
to + 2
31
- 1
Single
Single precision real variable
String
String variable
And
Logical AND
Or
Logical OR
To make a bit-by-bit comparison, logical constructions can be used with variables, as in A and B, or
with tests such as If A > B Then . . .
Functions
These are mainly of the form C = F (A), where A is the argument, or input to the function.
Abs
Abs (A) calculates the absolute value of an
integer or a real number, so the result is always