Operator
Explanation
Reading order
( )
[ ]
{ }
Function call
array index (element)
array index (character)
left-to-right
!
~
-
++
--
:
defined
sizeof
tagof
logical not
one's complement
two's complement (unary minus)
increase
decrease
"tag" overwritten
symbol definition status
symbol size in "elements"
unique number of the tag
right-to-left
*
/
%
multiplication
division
modulo
left-to-right
+
-
addition
subtraction
left-to-right
>>
>>>
<<
arithmetic shift to the right
logical shift to the right
shift to the left
left-to-right
&
bitwise "and"
left-to-right
^
bitwise "exclusive or"
left-to-right
|
bitwise "or"
left-to-right
<
<=
>
>=
less than
less or equal to
greater than
greater or equal to
left-to-right
==
!=
equal
unequal
left-to-right
&&
logical "and"
left-to-right
||
logical "or"
left-to-right
? :
conditional execution
right-to-left
=
Assignment
*= /= %= += -= >>= >>>= <<= &= ^= |=
right-to-left
,
comma
left-to-right
13.4.6 Statements
A statement can comprise one or several lines. A line can comprises two or more statements.
Statements for the sequence control (if, if-else, for, while, do-while and switch) can be nested.
13.4.6.1 Statement label
A label consists of an identifier followed by a ":". A label is a "Jump target" of a "goto" statement.
222
Rev. 05
Summary of Contents for myDatalogEASY V3
Page 2: ......
Page 13: ...Chapter 2 Declaration of conformity Chapter 2 Declaration of conformity Rev 05 13 ...
Page 14: ......
Page 42: ......
Page 76: ......
Page 88: ......
Page 102: ......
Page 110: ......
Page 116: ......
Page 234: ......
Page 244: ......
Page 252: ......
Page 254: ......
Page 266: ......
Page 276: ......