Sign in Join
Wiki copytemporary

And/de: what changed

Revision 0 to 1. Removed lines have a minus sign; added lines have a plus sign.

Title: And/de

OldNewLine
1+Zurück zu den [[Reserved words/de|reservierten Wörtern]].
2+
3+**And** gibt einen Wahrheitswert (True oder False) zurück.
4+
5+Ein Ausdruck ist dann Wahr, wenn beide Seiten des Operators Wahr sind.
6+
7+Beispiel:
8+
9+``` pascal
10+ ...
11+ // Wenn das Ergebnis der Bedingung wahr ist, dann wird die Anweisung (der Anweisungsblock), die (der) auf die Bedingung folgt abgearbeitet
12+ if (intA <> intB) And (intC <> intD) then // ist Wahr (True) wenn beide Seiten Wahr (True) sind ansonsten ist das Ergebnis False
13+ ...
14+```
15+
16+Beispiel für eine komplexere Abfrage:
17+
18+``` pascal
19+ ...
20+ // Wenn das Ergebnis der Bedingung wahr ist, dann wird die Anweisung (der Anweisungsblock), die (der) auf die Bedingung folgt abgearbeitet
21+ if ((intA <> intB) And (intC <> intD)) And (intE <> intF) then // ist Wahr (True) wenn alle Seiten Wahr (True) sind ansonsten ist das Ergebnis False
22+ ...
23+```
24+
25+--Olaf 17:09, 24 October 2012 (UTC)
26+
27+---
28+*From the Free Pascal wiki, page "And/de", as it stood on 2020-01-26 after a change by Trev, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's [[Licensing]] page. If you have concerns about this material, [message the admin](/wiki-contact).*

Back to history