Sign in Join
FPDoc Onlineexperiment

CheckPointer procedure

In unit heaptrc

Check if a pointer is in the address range of the application.

Declaration

pascal
procedure CheckPointer(p: pointer)

Description

CheckPointer checks if the pointer is in the address range of the application, more specifically, if it is in the heap. if not, it prints an error and stops the program with aruntime error 204.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.