User manual
and 64
break 85
byte 49
capture 79
const 59
continue 85
do 83
else 82
float 48
for 84
function 66
halt 74
if 82
inline 72
int 48
long 48
loop 83
nand 64
nor 64
not 63
or 64
quit 86
release 80
resume 75
return 69
returns 66
run 74
shl 62
shr 62
sleep 76
step 84
string 49
thread 72
type 49
wait 76
while 83
xor 64
yield 75
C2 Schlüsselworte
Seite Seite Seite Seite
Detaillierte Definitionen und Anwendungsbeispiele finden Sie im Verlauf dieser Anleitung.
Rangfolge der Operatoren in C2: (S. 61)
Rang Operator
8 ( )
7 - (negatives Vorzeichen) ! not
6 * / % mod
5 + -
4 << shl >> shr
3 == != > < >= <=
2 & and !& nand
1
| or !| nor ^ xor
Bitschiebeoperatoren (S. 62)
Operator Bedeutung
<< shl links schieben
>> shr logisch rechts schieben
Arithmetische Operatoren (S. 61)
Operator Bedeutung
+ Addition
- Subtraktion
* Multiplikation
/ Division
% mod Modulodivision (Divisionsrest)
- negatives Vorzeichen
Vergleichsoperatoren (S. 62)
Operator Bedeutung
== ist gleich?
!= ist ungleich?
> ist gößer?
< ist kleiner?
>= ist größer oder gleich?
<= ist kleiner oder gleich?
Logische Operatoren und Bitmanipulationen (S. 63)
Operator Bedeutung
! not nicht (Bitinvertierung)
& and und
!& nand und mit anschließender Bitinvertierung
| or oder
!
| nor oder mit anschließender Bitinvertierung
^ xor exklusiv-oder