POINTERDIFF / PTRDIFF Function

Purpose

Returns the difference between two pointers, which is FIXED BINARY(31,0).

Syntax

POINTERDIFF(x,y)

Parameters

x and y are expressions declared as POINTER.

Description

POINTERDIFF returns the difference between two pointers, which is FIXED BINARY(31,0). It can be abbreviated as PTRDIFF.

Restrictions

None.