Elmomc Multi-Axis Motion Controller-Maestro Bedienungsanleitung Seite 78

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 313
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 77
The following example illustrates the logical NOT operator (!):
if( !(x < y) )
If x is greater than or equal to y, the result of the expression is 1 (true). If x is less than
y, the result is 0 (false).
Unary arithmetic operations on pointers are illegal.
5.4.1.4 Expressions with Binary Operators
Binary operators act on two operands in an expression. The binary operators are:
Multiplicative Operators
Multiplication (*)
Division (/)
Modulo (%)
Additive Operators
Addition (+)
Subtraction (–)
Shift Operators
Right shift (>>)
Left shift (<<)
Relational and Equality Operators
Less than (<)
Greater than (>)
Less than or equal to (<=)
Greater than or equal to (>=)
Equal to (==)
Not equal to (!=)
Bitwise Operators
Bitwise AND (&)
Bitwise exclusive OR (^)
Bitwise inclusive OR (|)
Logical AND (&&)
Logical OR (||)
5.4.1.4.1 MAXL Multiplicative Operators
The multiplicative operators are:
Multiplication (*)
Division (/)
Modulo or “remainder from division” (%)
These binary operators have left-to-right associativity.
Maestro Software Manual MAXL Program Language
MAN-MASSW (Ver. Q)
5-16
Seitenansicht 77
1 2 ... 73 74 75 76 77 78 79 80 81 82 83 ... 312 313

Kommentare zu diesen Handbüchern

Keine Kommentare