home *** CD-ROM | disk | FTP | other *** search
/ Crawly Crypt Collection 2 / crawlyvol2.bin / program / pascal / passrc / procaddr.pas < prev    next >
Pascal/Delphi Source File  |  1985-11-18  |  2KB  |  56 lines

  1. { -----------------------------------------------------------------------------
  2.  
  3.                                  NOTICE:
  4.  
  5.       THESE MATERIALS are UNSUPPORTED by OSS!  If you do not understand how to
  6.       use them do not contact OSS for help!  We will not teach you how to 
  7.       program in Pascal.  If you find an error in these materials, feel free
  8.       to SEND US A LETTER explaining the error, and how to fix it.
  9.  
  10.       THE BOTTOM LINE:
  11.  
  12.          Use it, enjoy it, but you are on your own when using these materials!
  13.  
  14.  
  15.                                DISCLAIMER:
  16.  
  17.       OSS makes no representations or warranties with respect to the contents
  18.       hereof and specifically disclaim all warranties of merchantability or
  19.       fitness for any particular purpose.   This document is subject to change
  20.       without notice.
  21.       
  22.       OSS provides these materials for use with Personal Pascal.  Use them in
  23.       any way you wish.
  24.  
  25.    -------------------------------------------------------------------------- }
  26.  
  27.  
  28. {***************************************************************************
  29.  
  30.         Module to be linked with your program.  WILL NOT RUN AS-IS!
  31.  
  32.         You must declare Proc_addr in your program as follows:
  33.  
  34.            FUNCTION Proc_addr( PROCEDURE p ) : Long_Integer; External;
  35.  
  36.         Link into your program using "Additional Link Files" in
  37.         LINKER OPTIONS BOX.
  38.  
  39.         October 1, 1986 MJC
  40.         Copyright 1986 OSS, Inc.
  41.  
  42. ****************************************************************************}
  43.  
  44. {$m+,e+,d-}
  45. PROGRAM Procaddr;
  46.  
  47.    FUNCTION Proc_addr( scope_link, address: Long_Integer ) : Long_Integer;
  48.  
  49.       BEGIN
  50.          Proc_addr := address;
  51.       END;
  52.  
  53. BEGIN
  54. END.
  55. { END OF PROCADDR.PAS }
  56.