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

  • 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 80
5.4.1.4.5 MAXL Relational and Equality Operators
The relational and equality operators determine equality, inequality, or relative values
of their operands. The relational operators are shown in the table below.
Table 5-4 Relational and Equality Operators
Operator Meaning
== Equal to
!= Not equal to
< Less than
> Greater than
<= Less than or equal to
>= Greater than or equal to
5.4.1.4.5.1 Relational Operators
The binary relational operators determine the following relationships:
Less than
Greater than
Less than or equal to
Greater than or equal to
Syntax
relational-expression :
expression < expression
expression > expression
expression <= expression
expression >= expression
expression:
relational-expression
The relational operators have left-to-right associativity. Both operands of relational
operators must be of arithmetic type. They yield values of type int. The value returned
is 0 if the relationship in the expression is false; otherwise, it is 1.
Maestro Software Manual MAXL Program Language
MAN-MASSW (Ver. Q)
5-19
Zobrazit stránku 80
1 2 ... 76 77 78 79 80 81 82 83 84 85 86 ... 312 313

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

Žádné komentáře