Vbs Controls - LeCroy WaveRunner Xi series Operator's Manual

Oscilloscopes
Hide thumbs Also See for WaveRunner Xi series:
Table of Contents

Advertisement

W
R
X
S
AVE
UNNER
I
These results are from file Brackets.Xls. You ca
combinatio
ns of brackets.

VBS Controls

Do
Do
. . . .
. . . .
. . . .
Loop
Loop Until . . . .
Do Until
Do While
. . . .
. . . .
Loop
Loop
For . . . Next
GoTo__This is not allowed in ins
If . . . . Then . . . . _' On one line
If . . . Then
ElseIf . . . Then
End If
If . . . Then . . . End If__
If . . . Then . . . Else . . . End If
Select Case
. . . .
End Select
While
. . . .
Wend
Choose the construction that best satis
The construction GoTo LabelledStatement is available
is not allowed in VBS.
IF . . . Then . . . Else . . . En
A very simple example:
If A >= 0 Then B = Sqr (A) 'Take the square root of A if A is not negative.
If A + B < C + D Then E = F : G = H
If you need to perform a longer procedure, make this construction:
If A >= 0 Then
B = Sqr (A)
C = 32766 * Sin ( TwoPi * B / PeriodOfSinusoid)
End If
' End If is needed to terminat
194
ERIES
n make a copy of that file in order to experiment with different
Do
Loop While
Exit Do
Exit For
trument VBS.
__
fies the requirements of speed and clarity.
d I
f
_ 'No End Is needed if all on one line.
e the construction.
in many languages,
including VBA, but not in VBS.
GOTO
WRXi-OM-E Rev C

Advertisement

Table of Contents
loading

Table of Contents