[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 CONINPTR               Console Input Routine Pointer                 pp 209

 Syntax:  ConInPtr ;

 Type:    Pointer

 Form:    Function

 Purpose: ConInPtr is a predefined variable pointing to the address of
          the ConIn 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^ := ConInPtr     ;  { Assign to our pointer            }
          Segment := Seg (AdrPtr) ;  { Get AuxInPtr segment             }
          Offset  := Ofs (AdrPtr) ;  { Get AuxInPtr offset              }
       END.

See Also: ConOutPtr ConStPtr
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson