Herunterladen Inhalt Inhalt Diese Seite drucken

Zuweisungsoperator; Unäre Mathematische Operatoren; Binäre Mathematische Operatoren; Vergleichsoperatoren - Mega BASIC65 Referenzhandbuch

Inhaltsverzeichnis

Werbung

Zuweisungsoperator

Symbol Beschreibung Operandentyp Beispiel
=
Zuweisung
Unäre mathematische Operatoren
Name
Symbol Beschreibung
Plus
+
Minus -
Binäre mathematische Operatoren
Name
Plus
Minus
Stern
Schrägstrich
Aufwärtspfeil ↑

Vergleichsoperatoren

Symbol Beschreibung
>
größer
>=
größer oder gleich
<
kleiner
<=
kleiner oder gleich numerisch
=
gleich
<>
ungleich

Logikoperatoren

Schlüsselwort Beschreibung
AND
OR
XOR
NOT
alle
positives Vorzeichen numerisch
negatives Vorzeichen numerisch
Symbol Beschreibung
+
Addition
-
Subtraktion
*
Multiplikation numerisch
/
Division
Potenzierung
Und
Oder
Exklusives Oder logisch
Negation
A = 42, A$ ="HALLO", A = B < 42
Operandentyp Beispiel
Operandentyp Beispiel
numerisch
numerisch
numerisch
numerisch
Operandentyp Beispiel
numerisch
A > 42
numerisch
B >= 42
numerisch
A < 42
B <= 42
numerisch
A = 42
numerisch
B <> 42
Operandentyp Beispiel
logisch
logisch
logisch
8
A = +42
B = -42
A = B + 42
B = A - 42
C = A * B
D = B / 13
E = 2 ↑ 10
A > 42 AND A < 84
A > 42 OR A = 0
A > 42 XOR B > 42
C = NOT A > B

Werbung

Inhaltsverzeichnis
loading

Verwandte Produkte für Mega BASIC65

Inhaltsverzeichnis