False/de: what changed
Revision 2 to 3. Removed lines have a minus sign; added lines have a plus sign.
| Old | New | Line | |
|---|---|---|---|
| 1 | - | ||
| 1 | + | Zurück zu den [[Reserved words/de|reservierten Wörtern]]. | |
| 2 | 2 | ||
| 3 | - | ||
| 4 | - | ||
| 3 | + | Das reservierte Wort false gehört zu den Wahrheitswerten. | |
| 5 | 4 | ||
| 6 | - | ||
| 5 | + | Ein Wahrheitswert kann: | |
| 7 | 6 | ||
| 8 | - | ||
| 9 | - | ||
| 10 | - | ||
| 7 | + | - einer Variablen zugewiesen werden | |
| 8 | + | - eine boolesche Variable kann darauf abgefragt werden | |
| 9 | + | - das Ergebnis eines Vergleichs sein | |
| 11 | 10 | ||
| 12 | - | ||
| 13 | - | ||
| 14 | - | ||
| 11 | + | Beispiel: | |
| 12 | + | ||
| 13 | + | ``` pascal | |
| 15 | 14 | var | |
| 16 | - | ||
| 17 | - | ||
| 18 | - | ||
| 19 | - | ||
| 20 | - | ||
| 21 | - | ||
| 22 | - | ||
| 23 | - | ||
| 24 | - | ||
| 25 | - | ||
| 26 | - | ||
| 27 | - | ||
| 28 | - | ||
| 29 | - | ||
| 30 | - | ||
| 15 | + | blnWahr: Boolean; | |
| 16 | + | intI: integer; | |
| 17 | + | intJ: integer; | |
| 18 | + | ||
| 19 | + | begin | |
| 20 | + | ... | |
| 21 | + | blnWahr := false; | |
| 22 | + | intI := 5; | |
| 23 | + | intJ := 2; | |
| 24 | + | ... | |
| 25 | + | if blnWahr = false then | |
| 26 | + | ... | |
| 27 | + | if intI < intJ then | |
| 28 | + | ... | |
| 29 | + | end; | |
| 31 | 30 | ``` | |
| 32 | 31 | ||
| 33 | 32 | --- | |
| 34 | - | ||
| 33 | + | *From the Free Pascal wiki, page "False/de", as it stood on 2020-02-14 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).* |
