Sign in Join
Wiki copytemporary

Type/de: what changed

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

Title: Type/de

OldNewLine
1+Zurück zu den [[Reserved words/de|reservierten Wörtern]].\
2+
3+=Type= Das reservierte Wort type leitet einen benutzerdefinierten Datentyp wie z. B. einen Record oder einen Aliasnamen ein.\
4+Das reservierte Wort type beschreibt einen strukturierten Datentyp.\
5+
6+## Beispiel
7+
8+``` pascal
9+type
10+ TVektor = array[0..3] of single;
11+ TMatrix = array[0..0] of TVektor;
12+
13+ TMyClass = class(TObject)
14+ procedure MacheEtwas;
15+ end;
16+
17+ TRec = record
18+ sa: array [0..7] of single;
19+ abc: record
20+ a, b, c: byte;
21+ end;
22+ ma: TMatrix;
23+ end;
24+
25+var
26+ Vektor: TVektor;
27+ Matrix: TMatrix;
28+ Rec: TRec;
29+```
30+
31+## Siehe auch
32+
33+- [[Type Helper/de|Type Helper]]
34+
35+--Olaf 09:09, 22 February 2013 (UTC)
36+
37+---
38+*From the Free Pascal wiki, page "Type/de", as it stood on 2018-01-16 after a change by Mathias, 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).*
39+Category: Reserved words/de

Back to history