Node:PtrCard, Next:, Previous:protected, Up:Reference



PtrCard

(Under construction.)

Synopsis


type
  PtrCard = Cardinal attribute (Size = BitSizeOf (Pointer));

Description

An unsigned integer type of the same size as a pointer.

Conforming to

PtrCard is a GNU Pascal extension.

Example


program PtrCardDemo;
var
  a: PtrCard;
  p: Pointer;
begin
  GetMem (p, 10);
  a := PtrCard (p);
  Inc (a);
  p := Pointer (a)
end.

See also