home *** CD-ROM | disk | FTP | other *** search
/ Programming Languages Suite / ProgLangD.iso / Tu-Basic / MC.HLP < prev    next >
Text File  |  1987-04-01  |  5KB  |  148 lines

  1.                          INTRODUCTION     
  2.  
  3. MicroCalc is a tiny spreadsheet program "a la MultiPlan". It is provided
  4. with the Turbo Basic system as an example program.
  5.  
  6. Since MicroCalc is only a demonstration program, it has its limitations
  7. (which you may have fun eliminating) :
  8.  
  9.   * You can not copy formulas from one cell to others.
  10.   * You can not insert and delete lines or columns.
  11.  
  12. In spite of its limitations MicroCalc does provide some interesting
  13. features among which are:
  14.  
  15.   *  Full set of mathematical functions (SIN,COS,LN,EXP, etc...)
  16.   *  Built in line editor for text and formula editing.
  17.   *  Text can be entered across cells.
  18.   *  Once entered a formula is protected from accidental erasure.
  19.   *  DOS acces
  20.   *  Color cells
  21. .PA
  22.  
  23. In addition to this, MicroCalc offers all the usual features of a
  24. spreadsheet program:
  25.  
  26.   *  Load a spreadsheet from the disk.
  27.   *  Save a spreadsheet on the disk.
  28.   *  Print the spreadsheet on the printer (or to a file)
  29.   *  Automatic recalculation after each entry (May be disabled).
  30.   *  Init (Clears) the current spreadsheet.
  31.  
  32. Note :
  33.  
  34. The spreadsheet is like an electronic piece of paper on which you can
  35. enter text, numbers and formulas and have MicroCalc to do calculations
  36. automatically. The cells are the intersections between lines and columns.
  37.  
  38.              ( The next page shows the Spread Sheet ... )
  39. .PA
  40. This is the electronic spreadsheet :
  41.  
  42.               A         B         C         D         E        F        G        
  43.      1        22.45
  44.      2         1.00
  45.      3         2.00
  46.      4         3.00
  47.      5            28.45    
  48.      .    
  49.      .    
  50.     21    
  51. [A5,Formula]       type / for Commands,   F2 For Edit    AutoCalc is ON
  52. (A1+A2+A3+A4)
  53.                                                                                  
  54.  
  55. Cells are denoted A1 through G21 giving a total of 147 cells.
  56.  
  57. In the example the next last line shows that the active cell is cell A5,
  58. and that A5 contains a Formula : (A1+A2+A3+A4) which means that the
  59. numbers in A1,A2,A3 and A4 should be added and placed in A5.
  60.  
  61. The formula can be abbreviated to : (A1>A4) (add all cells from A1 to A4).
  62. .PA
  63. You move the cursor around just like you do with the Turbo Basic editor :
  64.  
  65.                              (Up)
  66.                             Ctrl-E
  67.                 (Left) Ctrl-S     Ctrl-G (Right)
  68.                             Ctrl-X
  69.                             (Down)
  70.  
  71.         ( On the IBM-PC you may also use the arrow keys. )
  72.  
  73. A cell may contain a number, a formula or some text. The type of the cell
  74. and its coordinates are shown in the bottom left corner of the screen:
  75.  
  76. [A5,Formula]          Means that the current cell is A5 and that it
  77.                       contains a formula.
  78.  
  79. [A1,Text]             Cell A1 contains text.
  80.  
  81. [A2,Numeric]          Cell A2 contains a number.
  82.  
  83. .PA
  84.                           Summary of MicroCalc functions     
  85.  
  86.  
  87. Summary of standard functions and operators:
  88. ABS, SQRT, SQR, SIN, COS, ARCTAN, LN, LOG, EXP, INT, SGN, FACT (factorial)
  89. +,-,*,/ and ^ to raise to any power : e.g. 2^3 = 8
  90. Furthermore the operator '>' can be used to denote a range of cells to add.
  91.  
  92. Entering data
  93. To enter data in any field move the cursor to the cell and enter the
  94. data. MicroCalc automatically determines if the cell is numeric or a
  95. a text cell. Cell beginning with + - ( . 0 1 2 3 4 5 6 7 8 9 is numeric.
  96.  
  97. When moving between cells:
  98. ^S,^D,^E,^X move left, right, up, and down.
  99.  
  100. When editing a cell
  101. Tab Left,Tab Right moves left and right. ^A,^F moves to begin/end of line
  102. ^G or DEL deletes left or right character.
  103. ^V or Ins changes between insert/overwrite mode.
  104. F2 to edit an existing cell. ESC makes it possible to regret changes
  105. .PA
  106.                          COMMANDS OF MicroCalc     
  107. The commands are available when you strike the / character :
  108.  
  109.    A  switches Autocalc ON and OFF
  110.    B  switches Border ON and OFF
  111.    C  to change cell Color
  112.    D  acces to Dos (or execute a DOS commands)
  113.    F  to change the output Format for numbers
  114.       Note: to use scientific notation enter -1 for the number of decimals
  115.    G  to Goto a specified cell
  116.    H  the Help screens
  117.    I  to Init (clear) the SpreadSheet
  118.    L  to Load a spreadsheet from the disk
  119.    P  to Print the spreadsheet to the printer (or a file)
  120.    Q  to Quit MicroCalc
  121.    R  to Recalculate the Spread Sheet
  122.    S  to Save a Spread Sheet on the disk.
  123.    U  to Update (to restore) the screen
  124.  
  125. To edit a cell content : Simply move to the cell and press F2 key,
  126. make your changes and press RETURN key (or press ESC to cancel).
  127. .PA
  128.  
  129.                                   EXAMPLES     
  130.  
  131. The following are examples of valid cell formulas:
  132.  
  133. (A1+(B2-C7))  subtract cell C7 from B2 and add the result to cell A1
  134. (A1>A21)      the sum of cells  A1,A2,A3..A21
  135. (A1>B2)       the sum of cells  A1,A2, B1,B2
  136.  
  137. The formulas may be as complicated as you want :
  138.  
  139. (SIN(A1)*COS(A2)/((1.2*A8)+LN(FACT(A8)+8.9E-3))+(C1>C5))
  140.  
  141.  
  142. To try MicroCalc, now use the L command to Load the file MCDEMO
  143.  
  144.  
  145. Note : If you run MicroCalc with a FileName parameter, this File will be
  146.        loaded automatically : (e.g.  MC mcdemo).
  147.  
  148.