home *** CD-ROM | disk | FTP | other *** search
/ Crawly Crypt Collection 2 / crawlyvol2.bin / program / pascal / pasdox / ioresult.txt < prev    next >
Text File  |  1985-11-18  |  2KB  |  55 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.         Using IO_Check and IO_Result in Personal Pascal
  29.  
  30.                        September 29, 1986
  31.  
  32.  
  33. If   you  have tried using IO_Check and IO_Result  (page  6-72  of 
  34. Personal  Pascal  manual) you may have noticed that  the  compiler 
  35. generates  an error message #104 - Undeclared Identifier.
  36.  
  37. This  is the result of an oversight during the development of  the 
  38. compiler.   IO_Check and IO_Result are in the PASLIB library; they 
  39. can  be used as described in the manual.   You need  only  declare 
  40. them  as  EXTERNAL  routines before you  reference  them  in  your 
  41. program.  An example follows:
  42.  
  43.     { Declare IO_Check and IO_Result EXTERNAL... }
  44.  
  45.     PROCEDURE IO_Check( b : BOOLEAN ); EXTERNAL;
  46.     FUNCTION IO_Result : Integer; EXTERNAL;
  47.  
  48.     { the rest of your program follows... } 
  49.  
  50. Once you have entered these lines into your program,  you may  use 
  51. IO_Check and IO_Result anywhere in your program.
  52.  
  53.  
  54.  
  55.