[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

9.208 PtrDiffType

(Under construction.)

Synopsis

 
type
  PtrDiffType  { built-in type }

Description

`PtrDiffType' is a (signed) integer type to represent the difference between two positions in memory. It is not needed except for rather low-level purposes.

Conforming to

Example

 
program PtrDiffTypeDemo;
var
  a: array [1 .. 10] of Integer;
  d: PtrDiffType;
  p, q: Pointer;
begin
  p := @a[1];
  q := @a[4];
  {$X+}
  d := q - p
end.

See also



This document was generated by Frank Heckenbach on May, 10 2002 using texi2html