Teledyne-lecroy User-Defined Decoding (UDD) Advanced Script Langua Instrukcja Użytkownika Strona 16

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 28
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 15
If
If Expression Then
Block1
Else If Expression Then
Block2
Else If Expression Then
Block3
Else
Block4
Remark
The if statement evaluates the expression. (For information about expression, see Expression
section.)
The if executes block1 if expression is true (nonzero); if else is present and expression is false
(zero), it executes block2. After executing block1 or block2, control passes to the next statement.
Each block can have several inner if.
Example
If CURPOS > 5 and ValueOf(F1) < 8 Then
{
H1 = AddField(CURPOS,8,"H1","Field H1","H1");
}
Else if(CURPOS < 9) then
{
H2 = AddField(CURPOS,8,"H2","Field H2","H2");
}
else
{
H4 = AddField(CURPOS,548,"H4","Field H4","H4");
}
Przeglądanie stron 15
1 2 ... 11 12 13 14 15 16 17 18 19 20 21 ... 27 28

Komentarze do niniejszej Instrukcji

Brak uwag