home *** CD-ROM | disk | FTP | other *** search
/ Programmer 7500 / MAX_PROGRAMMERS.iso / INFO / TURBOPAS / TURB_INC.ZIP / README.DOC < prev    next >
Encoding:
Text File  |  1985-12-28  |  3.1 KB  |  70 lines

  1. ======================= Turbo Include Library ========================
  2.  
  3. The files in this library contain functions and procedures which are
  4. an extension of Turbo Pascal routines.  These routines are written in
  5. "pure" Turbo 2.0 (No Intr or DOS calls) so they should be compatible
  6. with all operating systems.  You may include the file in your program
  7. using the {$i filename.inc} command.
  8.  
  9. The files are:
  10.  
  11. INKEY.INC   INKEY$ function for Turbo Pascal.  It is designed
  12.             for MS-DOS, and may need modification for other
  13.             systems.
  14.  
  15. POWER.INC   Raise a REAL number to an INTEGER power (positive
  16.             or negative).
  17.  
  18. STRING.INC  A collection of string routines to round out those
  19.             provided with Turbo.
  20.  
  21.             Available string functions:
  22.  
  23.             LoCase     Convert a single character to lower case.
  24.             LowerCase  Convert a string to lower case.
  25.             UpperCase  Convert a string to upper case.
  26.             TrimL      Trim Left: remove leading spaces from a string.
  27.             TrimR      Trim Right: remove trailing spaces from a string.
  28.             PadL       Pad Left: Add leading spaces to give a desired
  29.                                  field length.
  30.             PadR       Pad Right: Add trailing spaces to give a desired
  31.                                   field length.
  32.             JustL      Left Justify a string within a desired field length.
  33.             JustR      Right Justify a string within a desired field length.
  34.             Center     Center a string within a desired field length.
  35.             GetStr     Get String: Extracts a substring up to a delimiter.
  36.             Break      Extract a substring up to the first of several delimters.
  37.             Span       Extract a substring of delimiters up to a NON delimiter.
  38.  
  39.             Available string procedures:
  40.  
  41.             GString     Get String: Used by Span and Break functions.  It
  42.                         performs both functions with greater program control.
  43.  
  44.             RealStr     Convert a value of type REAL to a string representation
  45.                         in any base from 2 to 36.
  46.  
  47.             RealVal     Convert a string representation of a number to a REAL
  48.                         value.  The number may be in any base from 2 to 36.
  49.  
  50. Usage:  Documentation on how to use the functions and procedures is provided
  51.         in the source listings.
  52.  
  53. Dedication:
  54.  
  55.         These files are dedicated to Gyro Gearloose, who invented for
  56.         the pure joy of it.  His example gave me the strength to write
  57.         and collect together these routines not knowing if they would
  58.         ever be of use to anyone.
  59.  
  60.         (By the way, Gyro may have been thinking of computers when he said,
  61.         "Nobody can make a machine so smart that some jerk won't be too dumb
  62.         to run it".)
  63.  
  64.               Happy Computing -- may it never be of use to anyone!
  65.  
  66.                                 Tryg Helseth
  67.                            Minneapolis, Minnesota
  68.  
  69.                                   1/3/85
  70.