Sign in Join
Wiki copytemporary

Data field: what changed

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

Title: Data field

OldNewLine
1+Back to [[Data type|Data types]].
2+
3+A data field / variable is a reserved space (stack or heap) in the main memory (RAM) in which data is stored for repeated use. So that the data field / variable can be used, it must be assigned a specific data type .
4+
5+Examples of assigning a data type to a data field / 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", 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).*

Back to history