[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
NIL Empty Pointer Value pp 121
Define: Nil is a predefined identifier used to assign 'no value'
to an undefined pointer.
Purpose: Provides a standard value that can be tested to determine if a
pointer has been assigned an address.
Notes: Nil Segment:Offset value is 0000:0000.
----------------------------------------------------------------------------
Usage:
TYPE
PtrType = ^Integer; { Declare a pointer to Integer data }
VAR
IntPtr : PtrType ; { IntPtr is a pointer of type PtrType }
BEGIN
IntPtr := Nil ; { IntPtr now points at nothing }
END.
See Also:
Ofs
Pointer
Ptr
Seg
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson