EasyManua.ls Logo

LeCroy WavePro 7100A

Default Icon
437 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
X-Stream Operator’s Manual
WM-OM-E Rev I 293
Loop Loop Until . . . . Loop While
Do Until Do While Exit Do
. . . . . . . .
Loop Loop
For . . . Next Exit For
GoTo__This is not allowed in instrument VBS.
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 satisfies the requirements of speed and clarity.
The construction GoTo LabelledStatement is available in many languages, including VBA, but not
in VBS. GOTO is not allowed in VBS.
IF . . . Then . . . Else . . . End If
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_ 'No End Is needed if all on one
line.
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 terminate the construction.
The If statement is very often used with the following Boolean expressions:

Table of Contents

Related product manuals