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