Teledyne-lecroy USB Script Decode Manual Uživatelský manuál Strana 31

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 90
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 30
25
CHAPTER 7
CATC Scripting Language for USB Statements
...
<last_statement>;
}
An example of a compound statement is
{
x=2;
x+3;
}
It's also possible to nest compound statements, like so:
{
x=2;
{
y=3;
}
x+3;
}
Compound statements can be used anywhere that any other kind of statement can
be used.
if (3 && 3)
{
result = "True!";
Trace(result);
}
Compound statements are required for function declarations and are commonly
used in if, if-else, while,andfor statements.
Zobrazit stránku 30
1 2 ... 26 27 28 29 30 31 32 33 34 35 36 ... 89 90

Komentáře k této Příručce

Žádné komentáře