Difference between revisions of "Pointer"
From Free Pascal wiki
Jump to navigationJump to search (Spelling , can point to values) |
|||
Line 1: | Line 1: | ||
{{Pointer}} | {{Pointer}} | ||
− | A '''pointer''' is a data type | + | A '''pointer''' is a data type which contains a [[reference]]/pointer to the memory address of the value or [[variable]] it points to. |
Pointers can be declared in several ways: | Pointers can be declared in several ways: | ||
− | p: Pointer; // direct use of pointer-type | + | p: Pointer; // direct use of pointer-type |
pL: ^Longint; // usage of pointer-to-type notation. | pL: ^Longint; // usage of pointer-to-type notation. | ||
Revision as of 17:11, 12 July 2016
│
Deutsch (de) │
English (en) │
suomi (fi) │
français (fr) │
русский (ru) │
A pointer is a data type which contains a reference/pointer to the memory address of the value or variable it points to.
Pointers can be declared in several ways:
p: Pointer; // direct use of pointer-type pL: ^Longint; // usage of pointer-to-type notation.
See also:
simple data types |
|
---|---|
complex data types |