Difference between revisions of "Pointer"
From Lazarus wiki
Jump to navigationJump to searchJwdietrich (talk | contribs) (Lemma) |
|||
Line 1: | Line 1: | ||
{{Pointer}} | {{Pointer}} | ||
− | A '''pointer''' is a data type wich contains a reference/pointer to the memory address of the variable it points to. | + | A '''pointer''' is a data type wich contains a [[reference]]/pointer to the memory address of the [[variable]] it points to. |
+ | |||
+ | Pointers can be declared in several ways: | ||
+ | p: Pointer; // direct use of pointer-type | ||
+ | p: ^Longint; // usage of pointer-to-type notation. | ||
+ | |||
+ | See also: | ||
+ | * http://www.freepascal.org/docs-html/ref/refse15.html | ||
{{Data types}} | {{Data types}} |
Revision as of 13:27, 11 October 2013
│
Deutsch (de) │
English (en) │
suomi (fi) │
français (fr) │
русский (ru) │
A pointer is a data type wich contains a reference/pointer to the memory address of the variable it points to.
Pointers can be declared in several ways:
p: Pointer; // direct use of pointer-type p: ^Longint; // usage of pointer-to-type notation.
See also:
simple data types |
|
---|---|
complex data types |