Nematron Pointe Controller Uživatelský manuál Strana 141

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 441
  • Tabulka s obsahem
  • ŘEŠENÍ PROBLÉMŮ
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 140
Pointe Controller User Guide Chapter 5: Developing Controller Programs
139
Expression Syntax
In many instances, expressions can replace a single value or tag reference. Enter
expressions as free form text; they may be arithmetic or logical in nature.
All expressions produce a numeric result—either the actual result of the
arithmetic calculation, or the true/false result of a logical expression, where true
is 1 and false is 0.
An expression can include constants, tags, and functions and follows the syntax:
expression operator expression
The following table summarizes the available operators, listed in order of
precedence.
EXPRESSION TYPE OPERATORS
unary -a (negation)
multiplicative a * b (multiplication)
a / b (division)
a MOD b (modulus)
additive a + b (addition)
a - b (subtraction)
Zobrazit stránku 140
1 2 ... 136 137 138 139 140 141 142 143 144 145 146 ... 440 441

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

Žádné komentáře