beautypg.com

Vbs keywords and functions – Teledyne LeCroy WaveRunner XI SERIES Operator’s Manual User Manual

Page 199

background image

O

PERATOR

S

M

ANUAL

WRXi-OM-E Rev C

199

Next

VBS keywords and functions

ics do not apply to the instrument.

The ones in

ital

+

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 to +2 - 1.

31

31

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.

Log

Take the natural logarithm of a positive value.

Ltrim

Remove spaces at the left end of a string.

Mid

Take or insert some characters in a string.

Mod

Take the modulus of a value in terms of another value.

On Error

Take some action if an error occurs.

Open

Open a file.

Print

Send some ASCII data to a file.

Put

Send some data to a file.

Randomize

Randomize Timer re-seeds the pseudo-random number generator.

Read

Read from a file.

Right

Take some characters at the right end of a string.