home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 9 / 09.iso / l / l044 / 4.ddi / ONLINE.ZIP / FIXES.DOC < prev    next >
Encoding:
Text File  |  1990-10-23  |  4.7 KB  |  134 lines

  1.  
  2. ======================================================================
  3.                      Corrections & Additions
  4. ======================================================================
  5.  
  6.  
  7. This documentation file chronicles corrections or additions to
  8. the printed documentation. Make sure you look at other .DOC files
  9. in the \TP\DOC directory, especially TVISION.DOC. Note that the
  10. \TP\DOCDEMOS directory contains complete, correct versions of all
  11. the examples in the Turbo Vision Guide and in Chapter 4 of the
  12. User's Guide.
  13.  
  14. ----------------------------------------------------------------------
  15.                           Table of Contents
  16. ----------------------------------------------------------------------
  17.  
  18. 1.  User's Guide
  19. 2.  Programmer's Guide
  20. 3.  Library Reference
  21. 4.  Turbo Vision Guide
  22.  
  23. ----------------------------------------------------------------------
  24.  
  25. 1.  User's Guide
  26. ----------------
  27.  
  28.   P-1  Far and near directives
  29.   ----------------------------
  30.     Far and near directives can be placed after a procedure or
  31.     function declaration:
  32.  
  33.       procedure MyProc; far;
  34.       function MyFunc: Boolean; near;
  35.  
  36.     If MyProc and MyFunc are declared in the implementaton section of
  37.     a unit or in the body of the main program, they will be far and
  38.     near (respectively) regardless of the enabled or disabled state of
  39.     the {$F} compiler directive.
  40.  
  41.  
  42.   P-197  Stepping into conditional breakpoints
  43.   --------------------------------------------
  44.     An anomaly exists when the execution bar is above a conditional
  45.     breakpoint you've set and the condition is false. If you press F8
  46.     in this situation, the debugger will execute the statement with
  47.     the false conditional breakpoint without stopping. To have the
  48.     debugger stop before executing that statement, it is not necessary
  49.     to delete the conditional breakpoint. Instead, just position the
  50.     cursor on the line with the false conditional berakpoint and press
  51.     F4 (Run|Go to cursor).
  52.  
  53.  
  54. 2.  Programmer's Guide
  55. ----------------------
  56.  
  57.   P-153  Incorrect demo program name
  58.   ----------------------------------
  59.     The correct name for the BGI demo program that shows how to link
  60.     font and driver files into an EXE is called BGILINK.PAS.
  61.  
  62.   P-215  Free list
  63.   ----------------
  64.     The second paragraph incorrectly implies that the free list starts
  65.     at the top of memory and grows downwards. The remaining text in
  66.     that chapter correctly explains that the free list is maintained
  67.     by using the first 8 bytes of each freed block.
  68.  
  69.   P-328  Allows PUBLIC without external
  70.   -------------------------------------
  71.     Error message #51 will no longer occur if you link with an .OBJ
  72.     file that defines a PUBLIC for which there is no corresponding
  73.     external Pascal procedure. When the linker encounters an unmatched
  74.     PUBLIC in an .OBJ file, it simply creates a corresponding entry in
  75.     the symbol table that can be referenced by EXTERNs in other .OBJ
  76.     files.
  77.  
  78.  
  79. 3.  Library Reference
  80. ---------------------
  81.  
  82.   P-115  Incorrect demo program name
  83.   ----------------------------------
  84.   The correct name for the BGI demo program that shows how to
  85.   link font and driver files into an EXE is called BGILINK.PAS.
  86.  
  87.  
  88. 2.  Turbo Vision Guide
  89. ----------------------
  90.  
  91.   P-29   Missing parameters
  92.   -------------------------
  93.   The first line of the bottom two examples should be just like
  94.   the topmost example on the page:
  95.  
  96.       MenuBar := New(PMenuBar, Init(R, NewMenu(
  97.        ...
  98.  
  99.   P-54   Missing parameters
  100.   -------------------------
  101.   The example in the middle of the page is missing parameters in
  102.   the call to Assign. The correct syntax is:
  103.  
  104.       R.Assign(22, 3, 34, 6);
  105.  
  106.   P-157  Stream registration made easy
  107.   ------------------------------------
  108.   Turbo Vision defines stream registration records for all its
  109.   objects. In addition, each Turbo Vision unit defines a
  110.   RegisterXXXX procedure that automatically registers all of the
  111.   unit's objects. Finally, to register all Turbo Vision objects,
  112.   just call TApplication.RegisterTypes. Note that this will link
  113.   in ALL Turbo Vision objects, regardless of whether you're using
  114.   them or not (that's why it's not done automatically). See
  115.   TVISION.DOC for more information about additional registration
  116.   procedures.
  117.  
  118.   P-166  Incorrect method call
  119.   ----------------------------
  120.   The Append call in the IF statement should be a call to Insert
  121.   as follows:
  122.  
  123.       ...
  124.       Insert(Desktop);
  125.       ...
  126.  
  127.   P-224  Wrong order
  128.   ------------------
  129.   The TCollection.Free method descriptions has the calls in
  130.   reverse order. The correct order is:
  131.  
  132.       Delete(Item);
  133.       FreeItem(Item);
  134.