getPointer Method

This method has been deprecated and should not be used in Profile versions v6.4 and above.

Class: Reference

Description

This method returns the pointer to an object. The pointer is usually returned as an integer, or NULL if the identifier is not pointing to a currently instantiated object.

 

This method is intended for diagnostic purposes only. The programmer shall make no assumptions about the implementation of a reference object. Many reference objects are not implemented using pointers. In fact two reference objects of the same type (e.g., RecordDEP instances) may have different internal representations.

Syntax

referenceName.getPointer()

Parameters

None

Returns

A Number.

When Became Available

Profile v6.0

Example

type RecordDEP dep = Db.getRecord(“DEP”,”:CID”)

type Number PNTR = dep.getPointer()

 

* CID must be defined prior to the getRecord statement.