home *** CD-ROM | disk | FTP | other *** search
/ Programmer's ROM - The Computer Language Library / programmersrom.iso / ada / misc / fget.pro < prev    next >
Encoding:
Text File  |  1988-05-03  |  3.1 KB  |  64 lines

  1.  
  2.  
  3. -------- SIMTEL20 Ada Software Repository Prologue ------------
  4. --                                                           -*
  5. -- Unit name    : FGET
  6. -- Version      : 1.0
  7. -- Author       : Richard Conn
  8. --              : TI Ada Technology Branch
  9. --              : PO Box 801, MS 8007
  10. --              : McKinney, TX  75069
  11. -- DDN Address  : RCONN at SIMTEL20
  12. -- Copyright    : N/A
  13. -- Date created : 15 Apr 85
  14. -- Release date : 15 Apr 85
  15. -- Last update  : 15 Apr 85
  16. -- Machine/System Compiled/Run on : DG MV 10000, ROLM ADE
  17. --                                  DEC VAX 11/785, DEC Ada
  18. --                                                           -*
  19. ---------------------------------------------------------------
  20. --                                                           -*
  21. -- Keywords     : character I/O, GETC, UNGETC, GETCH, GET_CHAR
  22. ----------------:
  23. --
  24. -- Abstract     :
  25. --       Package FGET manipulates an object which is a text file. Its
  26. -- main purpose is to return characters from this file, allowing one-character
  27. -- look-ahead.  A character which has been obtained from the file via GETC can
  28. -- be returned to the file by an UNGETC, in which case the next GETC will return
  29. -- the same character again.  Additionally, GETC returns ASCII.CR if the end of
  30. -- a text line is reached and ASCII.ETX if the end of the file is reached.
  31. --                                                           -*
  32. ------------------ Revision history ---------------------------
  33. --                                                           -*
  34. -- DATE         VERSION AUTHOR                  HISTORY
  35. -- 4/15/85      1.0     Richard Conn            Initial Release
  36. --                                                           -*
  37. ------------------ Distribution and Copyright -----------------
  38. --                                                           -*
  39. -- This prologue must be included in all copies of this software.
  40. --
  41. -- This software is released to the Public Domain (note:
  42. --   software released to the Public Domain is not subject
  43. --   to copyright protection).
  44. -- Restrictions on use or distribution:  NONE
  45. --                                                           -*
  46. ------------------ Disclaimer ---------------------------------
  47. --                                                           -*
  48. -- This software and its documentation are provided "AS IS" and
  49. -- without any expressed or implied warranties whatsoever.
  50. -- No warranties as to performance, merchantability, or fitness
  51. -- for a particular purpose exist.
  52. --
  53. -- Because of the diversity of conditions and hardware under
  54. -- which this software may be used, no warranty of fitness for
  55. -- a particular purpose is offered.  The user is advised to
  56. -- test the software thoroughly before relying on it.  The user
  57. -- must assume the entire risk and liability of using this
  58. -- software.
  59. --
  60. -- In no event shall any person or organization of people be
  61. -- held responsible for any direct, indirect, consequential
  62. -- or inconsequential damages or lost profits.
  63. --                                                           -*
  64. -------------------END-PROLOGUE--------------------------------