Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Turbo Pascal - <b> errorptr pointer to error handler read.me</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 ERRORPTR                 Pointer to Error Handler                   Read.Me

 Syntax:  ErrorPtr

 Type:    Pointer

 Form:    Pre-defined Variable

 Purpose: This is a pre-defined 32 bit pointer to the Error Handler function.


 ----------------------------------------------------------------------------


 Usage:
       TYPE
          PtrType = ^Real         ;     { Define a pointer type            }

       VAR
          AdrPtr  : PtrType       ;     { Define a pointer of type PtrType }
          Segment : Integer       ;     { Segment value                    }
          Offset  : Integer       ;     { Offset value                     }

       BEGIN
          AdrPtr^ := ErrorPtr     ;     { Assign to our pointer            }
          Segment := Seg (AdrPtr) ;     { Get ErrorPtr segment             }
          Offset  := Ofs (AdrPtr) ;     { Get ErrorPtr offset              }
       END.

See Also: Pointer Ptr

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson