home *** CD-ROM | disk | FTP | other *** search
/ The Devil's Doorknob BBS Capture (1996-2003) / devilsdoorknobbbscapture1996-2003.iso / Dloads / OTHERUTI / TCPP10-8.ZIP / TCALC.ZIP / TCALC.DOC < prev    next >
Text File  |  1990-09-26  |  2KB  |  104 lines

  1. How to compile TurboCalc
  2. ────────────────────────
  3.  
  4. With TC.EXE:
  5.  
  6.   1. Run TC.EXE
  7.   2. In the Project pulldown menu specify the project name "TCALC.PRJ"
  8.   3. From the main menu select the Run option from the Run menu
  9.  
  10. With TCC.EXE:
  11.  
  12.   Compile from DOS with the following command line:
  13.     TCC tcalc tcparser tcdisply tcinput tcommand tcutil
  14.  
  15. In both cases, compiling under a large data model (COMPACT, LARGE, or HUGE)
  16. will give you much more memory for your spreadsheets.
  17.  
  18. The compiler may run out of file handles when compiling TurboCalc.
  19. To allow the compiler to open as many files as possible, put the
  20. statement "FILES = 20" in the file CONFIG.SYS in the root directory
  21. of the disk that you start your computer with.
  22.  
  23. The TurboCalc parser
  24. ────────────────────
  25.  
  26. The state and goto information for the parser was created using the UNIX YACC
  27. utility.  The input to YACC was as follows:
  28.  
  29. %token CONST CELL FUNC
  30. %%
  31. e : e '+' t
  32.   | e '-' t
  33.   | t
  34.   ;
  35. t : t '*' f
  36.   | t '/' f
  37.   | f
  38.   ;
  39. f : x '^' f
  40.   | x
  41.   ;
  42. x : '-' u
  43.   | u
  44.   ;
  45. u : CELL ':' CELL
  46.   | o
  47.   ;
  48. o : CELL
  49.   | '(' e ')'
  50.   | CONST
  51.   | FUNC '(' e ')'
  52.   ;
  53. %%
  54.  
  55. Additional TurboCalc information
  56. ────────────────────────────────
  57.  
  58. Formulas are entered as text.  TurboCalc will determine if what you entered
  59. is a legal formula or text.
  60.  
  61. Cell names in formulas are typed in with the column followed by the row.
  62.  
  63. Examples:
  64.  
  65. A1+A2
  66. B6^5
  67.  
  68. To sum a group of cells, put a colon between the first cell and the last
  69. cell in the group.
  70.  
  71. Example:
  72.  
  73. A1:A10 sums all of the cells from A1 to A10 and puts the result in the
  74. current cell.
  75.  
  76. The available TurboCalc functions are:
  77.  
  78. ABS - absolute value
  79. ACOS - arc cosine
  80. ASIN - arc sine
  81. ATAN - arc tangent
  82. COS - cosine
  83. COSH - hyperbolic cosine
  84. EXP - exponential function
  85. LOG - logarithm
  86. LOG10 - base 10 logarithm
  87. POW10 - raise argument to the 10th power
  88. ROUND - round to the nearest whole number
  89. SIN - sine
  90. SINH - hyperbolic sine
  91. SQR - square
  92. SQRT - square root
  93. TAN - tangent
  94. TANH - hyperbolic tangent
  95. TRUNC - return the whole part of a number
  96.  
  97. Examples:
  98.  
  99. TRUNC(A1)
  100. SQRT(SQR(34.5))
  101. ABS(TRUNC(B16))
  102. 03/07/90 check in tcalc.prj   lp
  103.  
  104.