home *** CD-ROM | disk | FTP | other *** search
/ Piper's Pit BBS/FTP: ibm 0010 - 0019 / ibm0010-0019 / ibm0010.tar / ibm0010 / PROCINST.ZIP / README < prev   
Encoding:
Text File  |  1990-08-29  |  5.3 KB  |  165 lines

  1. PRO-C v2.0                                                 20th-Aug-1990
  2. ----------                                                 -------------
  3.  
  4. PRO-C v2.0 works with the Microsoft v5.x & v6.0, Watcom C v7.0 and 
  5. Turbo C v2.0 & C++ v1.0 compilers. 
  6.  
  7. You will need the large memory model of your compiler.
  8.  
  9.  
  10. Compiling Generated Applications
  11. --------------------------------
  12.  
  13. The Compile scripts for your compiler assume that the compiler & PRO-C
  14. reside on the same drive, ie. C:\.  If you have your compiler on a
  15. different drive to PRO-C you may need to modify the compile script to
  16. specify an alternative drive to search for the compiler include files
  17. and libraries.
  18. To do this specify your editor in the PRO-C environment section, then
  19. select your compiler, and you will be asked if you want to edit your
  20. compile script.
  21.  
  22.  
  23. Stack Overflow
  24. --------------
  25.  
  26. Turbo C users may encounter stack overflow problems. There are 2 ways to 
  27. get around this :
  28.  
  29. 1. Patch a larger stack into the Turbo C start up module.
  30.  
  31. To do this, modify the c0.asm file, and increase the minimum 
  32. stack size to about 8k.  ( see lines below )
  33.  
  34. IFDEF    __NOFLOAT__
  35.     MINSTACK    equ    8192    ; PRO-C Mod - minimal stack size in words
  36. ELSE
  37.     MINSTACK    equ    8192    ; PRO-C Mod - minimal stack size in words
  38. ENDIF
  39.  
  40. You will then need to use tasm to assemble the module to .obj
  41. format :
  42.  
  43. tasm /d__LARGE__ c0
  44.  
  45. and replace the c0l.obj module with the new module:
  46.  
  47. copy c0.obj c0l.obj
  48.  
  49. 2. Insert the following line into the to PRO-C header file bench.h
  50. before any compilations.
  51.  
  52. extern unsigned _stklen = 8192u;
  53.  
  54. Your applications should then be ok.
  55.  
  56.  
  57.  
  58. Compiling the Workbench
  59. -----------------------
  60.  
  61. Copy the file MAKE.DEF to your root directory.
  62.  
  63. Rename the file MAKEFILE.WB to MAKEFILE.
  64.  
  65. The makefiles supplied are compatible with Borland's Make utility.
  66. If you are using a different compiler, then you will need to modify
  67. the makefile accordingly.
  68.  
  69. Change the define for your compiler towards the top of the makefile
  70. ie. TC, MSC or WC.
  71.  
  72. The makefiles reference several files which are not supplied with
  73. PRO-C.  These are proprietary files supplied with certain file
  74. managers.
  75. eg. btrieve4.c contains the Compiler specific btrieve calls, and 
  76. is available on the btrieve distribution from Softcraft Inc.
  77.  
  78. protree.c is also not supplied with the workbench.  If you require
  79. modification to this module for multi-user file access, call
  80. Vestronix tech support, to arrange for an update.
  81.  
  82.  
  83.  
  84. Undocumented Features
  85. ---------------------
  86.  
  87. When sizing a block in the painters pressing the backspace key toggles
  88. the anchor corner.
  89.  
  90. Fill Block feature allows you to fill a defined block with any ascii
  91. character.
  92.  
  93. There are now two types of numeric field input:  
  94.     1) Calculator input simulates a calculator, moving from right to left from 
  95.       the decimal. 
  96.    2) Regular input fills the field from left to right.
  97.  
  98. The character input masks are as follows
  99.         A           alphabetic and <Space> only, upper case
  100.         a           alphabetic and <Space> only, mixed case
  101.         B           alphabetic and <Space> only, lower case
  102.         C           alphabetic only, lower case
  103.         c           alphanumeric, underscore, and <Space>, lower case
  104.         I           any ASCII character (including extended character set)
  105.         P           alphanumeric and <Space>, upper case
  106.         p           alphanumeric and <Space>, mixed case
  107.         Q           alphanumeric and <Space>, lower case
  108.         X           alphanumeric, punctuation, and <Space> only, upper case
  109.         x           alphanumeric, punctuation, and <Space> only
  110.  
  111.  
  112.  
  113. When performing a Popup Screen against a Cross-Reference file, the function
  114. automatically goes to the Top of the file.  To force the lookup to do a 
  115. partial match on any existing value, edit your generated source code, and
  116. add the following line at the top of the file.
  117.  
  118. #define XREF_LOOKUP
  119.  
  120. To cause this to be performed as a default on all your applications, place
  121. this line in the PRO-C include file BENCH.H
  122.  
  123.  
  124.  
  125. Existing Bugs
  126. -------------
  127.  
  128. The Ascii Delimited file manager fails to perform inquiries properly
  129. when using the Microsoft v6.00 compiler.
  130. All other compilers work ok.
  131.  
  132. Update cross references that are linked through segmented keys may not display
  133. sums or computes in the correct order. It is recommended that update links be
  134. done through fields rather than segmented keys. If you must have a segmented
  135. update link and you experience this problem, our technical support specialists
  136. will supply you with "work arounds".
  137.  
  138. Holding down an arrow key in block mode will not repeat the arrow if a mouse
  139. driver is active. Use the mouse to size the block instead or repeatedly press
  140. the key.
  141.  
  142.  
  143.  
  144. File Managers
  145. -------------
  146.  
  147. If you are using Btrieve, make sure you use the BT.BAT file as supplied
  148. with PRO-C to start up the Btrieve engine.  Otherwise you may encounter
  149. errors when opening the file.
  150.  
  151.  
  152.  
  153. Changes since Beta / Pre-Release Copies
  154. ---------------------------------------
  155.  
  156. The f_to_a() function now takes a 4th argument.  Was 3.
  157. This arg specifies the maximum number of decimal places allowed when
  158. formatting the field for input.
  159.  
  160. The make_list() function now takes a 5th argument.  Used to be 4.
  161.  
  162. You may need to modify the source code of previously generated 
  163. applications to add these.
  164.  
  165.