Data field/de: what changed
Revision 0 to 1. Removed lines have a minus sign; added lines have a plus sign.
Title: Data field/de
| Old | New | Line | |
|---|---|---|---|
| 1 | + | Zurück zu den [[Data type/de|Datentypen]]. | |
| 2 | + | ||
| 3 | + | Ein Datenfeld / Variable ist ein reservierter Platz (Stack oder Heap) im Arbeitsspeicher (RAM), in dem Daten zur mehrmaligen Verwendung gespeichert werden. Damit das Datenfeld / Variable genutzt werden kann, muss ihm ein bestimmter [[Data type/de|Datentyp]] zugewiesen werden. | |
| 4 | + | ||
| 5 | + | Beispiele für die Zuweisung eines Datentyps an ein Datenfeld / Variable: | |
| 6 | + | ||
| 7 | + | ``` pascal | |
| 8 | + | Var | |
| 9 | + | i: integer; | |
| 10 | + | w: word; | |
| 11 | + | lw: longword; | |
| 12 | + | ch: char; | |
| 13 | + | str: string; | |
| 14 | + | boo: boolean; | |
| 15 | + | ``` | |
| 16 | + | ||
| 17 | + | --- | |
| 18 | + | *From the Free Pascal wiki, page "Data field/de", as it stood on 2020-02-12 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).* |
