home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD1.mdf / pascal / library / dos / tug__002 / field.txt < prev    next >
Encoding:
Text File  |  1988-08-08  |  3.8 KB  |  94 lines

  1. TUG PDS CERT 1.01 (Documentation)
  2.  
  3. ==========================================================================
  4.  
  5.                   TUG PUBLIC DOMAIN SOFTWARE CERTIFICATION
  6.  
  7. The Turbo User Group (TUG) is recognized by Borland International as the
  8. official support organization for Turbo languages.  This file has been
  9. verified by the TUG library staff.  We are reasonably certain that the
  10. information contained in this file is public domain material, but
  11. it is also subject to any restrictions applied by its author.
  12.  
  13. This diskette contains information determined to be in the PUBLIC
  14. DOMAIN, provided as a service of TUG for the use of its members.  The
  15. Turbo User Group will not be liable for any damages, including any lost
  16. profits, lost savings or other incidental or consequential damages arising
  17. out of the use of or inability to use the contents, even if TUG has been
  18. advised of the possibility of such damages, or for any claim by any
  19. other party.
  20.  
  21. To the best of our knowledge, the information in this file is accurate.
  22.  
  23. If you discover an error in this file, we would appreciate it if you would
  24. report it to us.  To report bugs, or to request information on membership
  25. in TUG, please contact us at:
  26.  
  27.              Turbo User Group
  28.              PO Box 1510
  29.              Poulsbo, Washington USA  98370
  30.  
  31. --------------------------------------------------------------------------
  32.                        F i l e    I n f o r m a t i o n
  33.  
  34. * DESCRIPTION
  35. Text file for FIELD.PAS.
  36.  
  37. * ASSOCIATED FILES
  38. FIELD.PAS
  39. FLDDEMO.PAS
  40. FLDTEST.PAS
  41. OLDDEMO.PAS
  42. FIELD.TXT
  43.  
  44. * CHECKED BY
  45. DRM - 08/08/88
  46.  
  47. * KEYWORDS
  48. TURBO PASCAL V4.0 DOCUMENTATION
  49.  
  50. ==========================================================================
  51. }
  52.                                     FIELD.TPU
  53.                                     ---------
  54.  
  55. FIELD.TPU is the Turbo Pascal unit obtained by compiling FIELD.PAS.  Turboì
  56. Pascal units are explained in chapter 4 of the language manual for version 4. ì
  57. FIELD.PAS was developed from KEYIN.INC by Michael H. Hughes so many of theì
  58. coding ideas in FIELD.PAS are his; however, FIELD.PAS incorporatesì
  59. significant changes.
  60.  
  61. The main function in KEYIN.INC was called keyin.  This function located eachì
  62. field on the screen, allowed data entry to and editing of the field, and onì
  63. termination returned the number of the next field to be processed.  The dataì
  64. entered was stored in a string or an array.  The main function in FIELD.PASì
  65. is called editfield.  Like keyin it locates each field on the screen and ì
  66. allows data entry to and editing of the field, but it returns the key code ofì
  67. the terminating key rather than the number the next field.  As can be seen inì
  68. the demonstration programs, this allows construction of more elaborateì
  69. screens.  Both vertical and horizontal tabing from field to field may beì
  70. programmed for editing but suppressed during initial data entry.  Data canì
  71. still be stored in strings, but numbers can now be stored as variables.
  72.  
  73. OLDDEMO.PAS is the original demonstration program TESTKEY.PAS recoded to useì
  74. the new unit.  Certain keying errors could spoil the screen of the oldì
  75. program.  The new program appears to be bullet proof.
  76.  
  77. NEWDENO.PAS is a simple chemical engineering program that illustrates how toì
  78. use FIELD.TPU to create a screen with a large number of fields that have theì
  79. same format.  This screen style is required for many chemical engineeringì
  80. problems.
  81.  
  82. FLDTEST.PAS was written to help debug FIELD.PAS.  By playing with thisì
  83. program you will get a good idea how the unit works.
  84.  
  85. Hopefully these demonstration programs and the comments in the source code ofì
  86. the unit will allow interested programmers to use this unit without undueì
  87. pain.
  88.  
  89.                                Frank Wood, Jr.
  90.  
  91.                                CIS User ID 74375,127
  92.  
  93.                                July 2, 1988
  94.