Elmomc Multi-Axis Motion Controller-Maestro Uživatelský manuál Strana 65

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 313
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 64
5.1.4 Punctuators
Punctuators in MAXL have syntactic and semantic meaning to the compiler but do
not, of themselves, specify an operation that yields a value.
Syntax
! % ^ & * ( ) - + = /
| [ ] ; : " < > , #
The punctuators [ ] and ( ) must appear in pairs.
5.1.5 Operators
Operators specify an evaluation to be performed on one of the following:
One operand (unary operator)
Two operands (binary operator)
Table
5-1 lists the operators available in MAXL.
Operators follow a strict precedence, which defines the order of expressions
containing these operators. Operators associate with either the expression on their left,
or the expression on their right; this is called “associativity.” Operators in the same
group have equal precedence and are evaluated left to right in an expression unless
explicitly forced by a pair of parentheses, (). Table
5-1 shows the precedence and
associativity of MAXL operators (from highest to lowest precedence).
Maestro
Software Manual MAXL Program Language
MAN-MASSW (Ver. Q)
5-3
Zobrazit stránku 64
1 2 ... 60 61 62 63 64 65 66 67 68 69 70 ... 312 313

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

Žádné komentáře