Next: , Previous: PtrDiffType, Up: Reference



PtrInt

(Under construction.)

Synopsis

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

Description

A signed integer type of the same size as a pointer.

Conforming to

PtrInt is a GNU Pascal extension.

Example

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

See also