Elmomc Multi-Axis Motion Controller-Maestro Manual de usuario Pagina 78

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 313
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 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
Vista de pagina 77
1 2 ... 73 74 75 76 77 78 79 80 81 82 83 ... 312 313

Comentarios a estos manuales

Sin comentarios