home *** CD-ROM | disk | FTP | other *** search
/ Boston 2 / boston-2.iso / DOS / ANWENDUN / EXP_CALC / CALC1.DOC < prev    next >
Text File  |  1993-12-01  |  81KB  |  3,233 lines

  1. -
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.                               EXPRESSCALC 
  18.  
  19.                              USER'S  GUIDE
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.                                  by 
  30.  
  31.                              Bill Willis 
  32.  
  33.                                 and
  34.  
  35.                              Ralph Osness 
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.                            EXPRESSWARE
  46.                            P.O. Box 230
  47.                          Redmond, WA 98073
  48.  
  49.                      Copyright 1986, 1987, 1988
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67. -
  68.  
  69.  
  70.  
  71.  
  72.  
  73.  
  74.  
  75.  
  76.  
  77.  
  78.  
  79.  
  80.  
  81. Changes are periodically made to the information contained herein. 
  82. These changes will be incorporated into future editions of this 
  83. publication.
  84.  
  85.  
  86. A User Response Form is provided at the back of this publication.  
  87. If this form has been removed, please address your comments to:
  88.  
  89.  
  90.                        E X P R E S S W A R E
  91.                            P.O. Box 230
  92.                          Redmond, WA 98073
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.                          Proprietary Notice
  108.  
  109. ExpressCalc is a proprietary product written by Bill Willis and 
  110. Ralph Osness, and is published by Expressware, Redmond, Washington.
  111.  
  112.  
  113. All rights reserved except those expressly granted to the user by 
  114. this document.
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133. -
  134.  
  135.  
  136.  
  137.  
  138.  
  139.  
  140.  
  141.                                                         Contents
  142.  
  143.  
  144.  
  145.       1          Introduction
  146.       3          System Requirements
  147.       4          Getting Started
  148.       6          A Brief Tutorial
  149.       11         General Information
  150.       16         Keyboard Conventions
  151.  
  152.       23         ALPHABETIC REFERENCE
  153.       25         ABS Function
  154.       26         ARRANGE Command        (/A)
  155.       31         ATN Function
  156.       32         AVERAGE Function
  157.       33         BLANK Command          (/B)
  158.       35         CONFIGURE Command      (/C)
  159.       42         COS Function
  160.       43         COUNT Function
  161.       44         CPI Function
  162.       46         DELETE Command         (/D)
  163.       48         EDIT Command           (/E)
  164.       50         EXP Function
  165.       51         FIX Function
  166.       52         FORMAT Command         (/F)
  167.       60         GLOBAL Command         (/G)
  168.       64         IF Function
  169.       69         INSERT Command         (/I)
  170.       71         INT Function
  171.       72         KEYWORD Function
  172.       75         LOAD Command           (/L)
  173.       79         LOG Function
  174.       80         LOOKUP Function
  175.       84         LPI Function
  176.       85         MAX Function
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.  
  196.  
  197.  
  198.  
  199. -
  200.  
  201.  
  202.  
  203.  
  204.  
  205.  
  206.  
  207. Contents
  208.  
  209.  
  210.  
  211.       86         MIN Function
  212.       87         MOVE Command           (/M)
  213.       89         NOLF Function
  214.       91         NOPRINT Function
  215.       94         NPV Function
  216.       96         PAGE Function
  217.       99         PAYMENT Function
  218.       101        PERIODS Function
  219.       103        PRINCIPAL Function
  220.       105        PRINT Command          (/P)
  221.       111        QUIT Command           (/Q)
  222.       112        RANDOM Function
  223.       114        RATE Function
  224.       116        REPLICATE Command      (/R)
  225.       121        ROUND Function
  226.       122        SAVE Command           (/S)
  227.       126        SGN Function
  228.       127        SIN Function
  229.       128        SQR Function
  230.       129        STDEV Function
  231.       130        SUM Function
  232.       131        TAN Function
  233.       132        TITLE Command          (/T)
  234.       134        UTILITY Command        (/U)
  235.       135        WINDOW Command         (/W)
  236.       136        XTERNAL Command        (/X)
  237.       142        ZAP Command            (/Z)
  238.       143        Customizing CALC
  239.       158        CALC File Format
  240.       165        Version Numbers & Major Enhancements
  241.       168        The Files On The CALC Disks
  242.       169        Some Frequently Asked Questions
  243.  
  244.  
  245.  
  246.  
  247.  
  248.  
  249.  
  250.  
  251.  
  252.  
  253.  
  254.  
  255.  
  256.  
  257.  
  258.  
  259.  
  260.  
  261.  
  262.  
  263.  
  264.  
  265. -
  266.  
  267.  
  268.  
  269.  
  270.  
  271.  
  272.  
  273.                                                         Contents
  274.  
  275.  
  276.  
  277.       170        Distribution Notice
  278.       171        User Response Form
  279.       175        Order Form
  280.       177        Index
  281.  
  282.  
  283.  
  284.  
  285.  
  286.  
  287.  
  288.  
  289.  
  290.  
  291.  
  292.  
  293.  
  294.  
  295.  
  296.  
  297.  
  298.  
  299.  
  300.  
  301.  
  302.  
  303.  
  304.  
  305.  
  306.  
  307.  
  308.  
  309.  
  310.  
  311.  
  312.  
  313.  
  314.  
  315.  
  316.  
  317.  
  318.  
  319.  
  320.  
  321.  
  322.  
  323.  
  324.  
  325.  
  326.  
  327.  
  328.  
  329.  
  330.  
  331. -
  332.  
  333.  
  334.  
  335.  
  336.  
  337.  
  338.  
  339. PREFACE
  340.  
  341.  
  342.  
  343. PREFACE TO USERS OF EARLIER VERSIONS 
  344.  
  345.  
  346.  
  347. ExpressCalc Version 4 is faster than earlier versions, supports 
  348. subdirectories, and has several other new features, including /Move 
  349. and /Window commands. For a complete list of the latest 
  350. improvements, see the chapter titled "Version Numbers and Major 
  351. Enhancements" at the back of this manual. 
  352.  
  353. ExpressCalc Version 4 consists of one program, called CALC.EXE. 
  354. Earlier versions had five separate programs, which loaded as each 
  355. command was used, causing a pause when using /Print, /Load, etc. 
  356. as the program was loaded into memory. The new version runs 
  357. commands much faster (almost instantly), and uses less space on 
  358. disk. However, it requires a PC with at least 512K RAM memory to 
  359. run. 
  360.  
  361. ExpressCalc Version 4 automatically includes the extension .CAL on 
  362. spreadsheets unless you specify a different extension when entering 
  363. a file name. If you have spreadsheets with different extensions, or 
  364. with no extensions, you might consider changing them all to .CAL to 
  365. prevent confusion. Or you can override the default extension with 
  366. the DEFAULT EXTENSION profile option. 
  367.  
  368. ExpressCalc Version 4 no longer supports 40-column displays, but 
  369. support has been added for EGA and VGA boards, allowing more 
  370. lines to be displayed on the screen.
  371.  
  372. No file conversion is required to use Version 4. Just load your 
  373. Version 3 spreadsheets and run. Spreadsheets created with Version 
  374. 4 can even be used with the Version 3 programs. 
  375.  
  376. After you have used Version 4 for awhile, let us know what you 
  377. think. There is a new User Response Form in the back of this 
  378. manual, and also one on the Calc disk. We look forward to hearing 
  379. from you.
  380.  
  381.  
  382.  
  383.  
  384.  
  385.  
  386.  
  387.  
  388.  
  389.  
  390.  
  391.  
  392.  
  393.  
  394.  
  395.  
  396.  
  397. -
  398.  
  399.  
  400.  
  401.  
  402.  
  403.  
  404.  
  405.                                                      INTRODUCTION
  406.  
  407.  
  408.  
  409.                             INTRODUCTION 
  410.  
  411.  
  412. ExpressCalc is an easy-to-use "Visible Spreadsheet" program. 
  413. If you work with numbers, at home, on the job or at school, CALC 
  414. is for you. Whether the task is simple or complex, CALC can help. By 
  415. using its powerful commands, reports can be produced in minutes that 
  416. would take hours to do manually, or days to write in BASIC. 
  417.  
  418. Here are some examples of how people are using CALC: 
  419.  
  420.    * Computing interest and principal on loans, mortgages, savings 
  421.      accounts.
  422.  
  423.    * Preparing payroll journals, sales journals, accounts receivable 
  424.      journals.
  425.  
  426.    * Doing income tax computations, computing depreciation, 
  427.      accumulating income and expenses. 
  428.  
  429.    * Preparing business forecasts, P&L's, ten-year projections, 
  430.      etc. and then playing "what if..." to see the impact of 
  431.      changing one or more numbers.
  432.  
  433.    * Analyzing investments, balancing checkbooks, keeping budgets. 
  434.  
  435.    * Preparing homework assignments for classes in bookkeeping, 
  436.      accounting, math, etc.
  437.  
  438.  
  439. Spreadsheets created with CALC can be displayed and altered on 
  440. the screen, printed out, saved on disk and reloaded for further 
  441. changes or review. If you create a really wide spreadsheet that 
  442. won't fit on one page, no problem. CALC will print two pages 
  443. that can be attached to make one wide spreadsheet. 
  444.  
  445. And spreadsheets are not limited to the size of your computer 
  446. screen. CALC will scroll up, down and sideways to give you a 
  447. spreadsheet up to 64 columns wide and 256 lines long. For large 
  448.  
  449.  
  450.                                                                     1
  451.  
  452.  
  453.  
  454.  
  455.  
  456.  
  457.  
  458.  
  459.  
  460.  
  461.  
  462.  
  463. -
  464.  
  465.  
  466.  
  467.  
  468.  
  469.  
  470.  
  471. INTRODUCTION
  472.  
  473.  
  474. spreadsheets, columns or rows can be increased with the "Configure" 
  475. command. Numbers and words can be placed anywhere on the 
  476. spreadsheet. The width of each column of your spreadsheet can be any 
  477. size from 1 character to 75 characters wide, or it can be "zero" 
  478. characters wide, which means it exists and contains data, but is 
  479. hidden from view. A number can have from one to twelve decimals, or 
  480. no decimals at all. 
  481.  
  482. Spreadsheets can link to other spreadsheets to extract data, 
  483. providing a "3-dimensional" capability. And if you are a File 
  484. Express or PC-File database user, CALC can reach into your 
  485. databases and extract data or add up numbers. And there is no 
  486. limit to the number of databases that can be accessed by a single 
  487. spreadsheet. These are just a few of the features that CALC 
  488. provides. 
  489.  
  490. This manual describes all the features of CALC in detail. It is 
  491. recommended that the manual be read completely before using 
  492. CALC, but you will find that it is so easy to use, many of its 
  493. features can be mastered even without the documentation. For that 
  494. reason, this manual has been organized as a reference document 
  495. rather than a tutorial. There is a tutorial section at the 
  496. beginning, titled "A Brief Tutorial", but the rest of the manual is 
  497. designed for quickly finding information about specific commands 
  498. and functions.
  499.  
  500.  
  501.  
  502.  
  503.  
  504.  
  505.  
  506.  
  507.  
  508.  
  509.  
  510.  
  511.  
  512.  
  513.  
  514.  
  515.  
  516. 2
  517.  
  518.  
  519.  
  520.  
  521.  
  522.  
  523.  
  524.  
  525.  
  526.  
  527.  
  528.  
  529. -
  530.  
  531.  
  532.  
  533.  
  534.  
  535.  
  536.  
  537.                                            SYSTEM REQUIREMENTS  
  538.  
  539.  
  540.  
  541.                 SYSTEM REQUIREMENTS
  542.  
  543.  
  544. CALC runs on the IBM PC or compatible systems with this 
  545. minimum configuration: 
  546.  
  547.      * 512K computer memory. 
  548.  
  549.      * An MSDOS or PCDOS operating system version 2.0 or later.
  550.  
  551.      * A monochrome or color monitor with an 80 column display.
  552.        A color graphics board is not necessary, but if you have 
  553.        one, CALC formats its screens in your choice of colors. 
  554.        If your computer has less than 25 lines, CALC can be 
  555.        configured for a shorter screen (8 lines minimum). With  
  556.        an EGA adapter, CALC can display 43 lines instead of 25. 
  557.        With a VGA adapter, several screen sizes may be chosen.
  558.  
  559.      * Two double sided diskette drives. CALC is also compatible 
  560.        with hard disks and electronic disks.
  561.  
  562.      * A printer is optional. CALC runs on most printers. 
  563.  
  564.  
  565.  
  566.  
  567.  
  568.  
  569.  
  570.  
  571.  
  572.  
  573.  
  574.  
  575.  
  576.  
  577.  
  578.  
  579.  
  580.  
  581.  
  582.                                                                     3
  583.  
  584.  
  585.  
  586.  
  587.  
  588.  
  589.  
  590.  
  591.  
  592.  
  593.  
  594.  
  595. -
  596.  
  597.  
  598.  
  599.  
  600.  
  601.  
  602.  
  603. GETTING STARTED
  604.  
  605.  
  606.  
  607.  
  608.                    GETTING STARTED
  609.  
  610.  
  611. The following information is provided to get you up and running with 
  612. CALC as quickly as possible. We recognize that most people will try 
  613. running a program before they read the User's Guide. This section 
  614. will give you enough information to make a backup copy of CALC and 
  615. to get the program started. If you have any further questions, refer 
  616. to the manual. 
  617.  
  618. 1. Turn on your computer and load the DOS operating system. The 
  619.    CALC diskette does not have DOS on it, so use a diskette that 
  620.    does.
  621.  
  622. 2. FORMAT two blank diskettes using the DOS FORMAT command. 
  623.    (See your DOS manual if needed.)
  624.  
  625. 3. Copy COMMAND.COM from your DOS diskette onto one of the blank 
  626.    diskettes and label it "Program Disk". Copy all the program files 
  627.    from the original CALC Program Disk onto this diskette. 
  628.  
  629. 4. Label the second formatted diskette "Supplemental Disk" and copy 
  630.    all the files from the CALC Supplemental Disk onto it. This 
  631.    diskette can also be used as a data disk for storing spreadsheet 
  632.    files. 
  633.  
  634. 5. At this point, most users will simply type:
  635.  
  636.                               CALC 
  637.  
  638.    and press ENTER, which will load and run the program. However, 
  639.    there are some special cases when CALC cannot automatically 
  640.    configure itself, and an extra code must be entered, as follows:
  641.  
  642.    Computers with a color board, but a monochrome monitor:
  643.  
  644.                              CALC BW
  645.  
  646.  
  647.  
  648. 4
  649.  
  650.  
  651.  
  652.  
  653.  
  654.  
  655.  
  656.  
  657.  
  658.  
  659.  
  660.  
  661. -
  662.  
  663.  
  664.  
  665.  
  666.  
  667.  
  668.  
  669.                                                GETTING STARTED
  670.  
  671.  
  672.    Non-IBM computers which do not have IBM-compatible video 
  673.    memory mapping (such as the Tandy 2000):
  674.  
  675.                              CALC SL
  676.  
  677. 6. There is a pause for a few seconds as the CALC program loads 
  678.    into memory. Then the CALC banner screen is displayed. Press 
  679.    any key.
  680.  
  681. 7. Check the screen. If it doesn't look right, or if it doesn't 
  682.    show A1 > in the lower left corner, read the Configure (/C) 
  683.    section before proceeding. Otherwise, CALC is ready to use!
  684.  
  685.  
  686. CALC may also be used on a hard disk. It is suggested that you 
  687. create a separate subdirectory, then copy the programs and data 
  688. from both diskettes to it. 
  689.  
  690.  
  691.  
  692.  
  693.  
  694.  
  695.  
  696.  
  697.  
  698.  
  699.  
  700.  
  701.  
  702.  
  703.  
  704.  
  705.  
  706.  
  707.  
  708.  
  709.  
  710.  
  711.  
  712.  
  713.  
  714.                                                                     5
  715.  
  716.  
  717.  
  718.  
  719.  
  720.  
  721.  
  722.  
  723.  
  724.  
  725.  
  726.  
  727. -
  728.  
  729.  
  730.  
  731.  
  732.  
  733.  
  734.  
  735. A BRIEF TUTORIAL
  736.  
  737.  
  738.  
  739.                          A BRIEF TUTORIAL
  740.  
  741.  
  742. Now that you have CALC loaded in your computer, note that across 
  743. the top of the screen are letters: A, B, C, etc. These letters 
  744. identify the columns of the spreadsheet. Down the left side are 
  745. numbers. These numbers identify each row of the spreadsheet. Each 
  746. coordinate in this grid is called a "cell". For example, the cell 
  747. where the cursor is currently located is called "A1"; to its right 
  748. is "B1"; below it is "A2"; at the end of the spreadsheet (not 
  749. currently on the screen) is "BL256".
  750.  
  751. Press the arrow keys and you will find that you can move the large 
  752. cursor (called the "cell cursor") around on the screen. When moving 
  753. left and right, it moves one column at a time. Up and down it moves 
  754. one row at a time. In the lower left corner of the screen is an 
  755. indicator called the "cursor coordinate", which shows the cell 
  756. currently occupied. As the cursor is moved about the screen, this 
  757. cursor coordinate will rapidly change to the new cell address.
  758.  
  759. Press the right-arrow several times and you will see the screen 
  760. "scroll sideways". In other words, column A will disappear on the 
  761. left, and all the other columns will shift to the left, making room 
  762. for a new column on the right. If you keep pressing the right-arrow 
  763. key, eventually you will come to column Z. Then the columns will be 
  764. labelled AA, AB, AC, etc. When the cursor reaches column BL it will 
  765. no longer move. You have reached the edge of the spreadsheet. Using 
  766. the down arrow key you can make the screen "scroll up" until the 
  767. last row of the screen, row 256, is displayed.
  768.  
  769. When pressing the arrow keys to scroll, if you hold down the arrow 
  770. key, causing it to rapidly repeat, you will notice something a bit 
  771. different. The cursor coordinate in the lower left corner of the 
  772. screen starts advancing rapidly, but the screen is not redisplayed 
  773. until you let up on the arrow key. This allows you to scroll 
  774. quickly to any position in the spreadsheet without waiting for the 
  775. screen to be refreshed.   
  776.  
  777.  
  778.  
  779.  
  780. 6
  781.  
  782.  
  783.  
  784.  
  785.  
  786.  
  787.  
  788.  
  789.  
  790.  
  791.  
  792.  
  793. -
  794.  
  795.  
  796.  
  797.  
  798.  
  799.  
  800.  
  801.                                                 A BRIEF TUTORIAL
  802.  
  803.  
  804. Now let's try putting some data on the spreadsheet. Move the cursor 
  805. to coordinate B4, and type 12345 then press the ENTER key. As you 
  806. type the number, you will notice that it is displayed on the bottom 
  807. line of the screen. This line is called the "entry line". When you 
  808. press ENTER, the number on the entry line disappears, and is 
  809. redisplayed up in the spreadsheet at coordinate B4. But it is 
  810. slightly different. Instead of being simply the 12345 you typed, it 
  811. is 12,345.00 and it is shifted to the right of the column. The 
  812. number is displayed this way because of certain "defaults" in 
  813. CALC for displaying numbers. Unless otherwise specified, all 
  814. numbers will have two decimal places, will have commas between the 
  815. thousands, and will be "right-justified" in the column. Of course 
  816. it is possible to change these defaults, for specific cells or for 
  817. the whole screen, and this will be discussed later in the "Format 
  818. Command" section.
  819.  
  820. Now press the up-arrow and move the cell cursor to B2. Type the 
  821. following: 
  822.                     This is a test of CALC.
  823.  
  824. and press the ENTER key. As you are typing, if you make an error, 
  825. you can use the backspace key to move the cursor back, or the tab 
  826. key to move forward across the entry line, then make typing 
  827. corrections. After pressing ENTER, look at cell B2. It will now 
  828. contain the text you typed, and the text will overlap into cells 
  829. C2 and D2. Text is allowed to overlap cells in CALC, 
  830. provided the cells to the right have nothing in them. 
  831.  
  832. Now move the cursor to B6 and type: 
  833.  
  834.                                 B4+B4  
  835.  
  836. then press the ENTER key. Cell B6 should display the number 
  837. 24,690.00 which is the sum of 12345 plus 12345. Let's examine what 
  838. happened. By moving the cursor to B6, you told CALC to put the 
  839. result of the formula into B6. The formula B4+B4 told CALC to 
  840. get the number at B4, add it to itself, and put the result in B6. 
  841. The formula could have been simpler or more complex and CALC 
  842. would have immediately gathered up all the numbers needed, computed 
  843. the new value, and displayed the result at B6. 
  844.  
  845.  
  846.                                                                     7
  847.  
  848.  
  849.  
  850.  
  851.  
  852.  
  853.  
  854.  
  855.  
  856.  
  857.  
  858.  
  859. -
  860.  
  861.  
  862.  
  863.  
  864.  
  865.  
  866.  
  867. A BRIEF TUTORIAL
  868.  
  869.  
  870. Looking at the screen, you have now entered all three types of data 
  871. that can go on a CALC spreadsheet:
  872.  
  873.  At B2 you entered the  "text"        This is a test of CALC.
  874.  At B4 you entered the  "value"       12345
  875.  At B6 you entered the  "formula"     B4+B4
  876.  
  877. Any cell on the spreadsheet can contain text, a value or a formula. 
  878. Now move the cell cursor to each of the three cells with data in 
  879. them. As the cell cursor moves into a cell, notice that the "cell 
  880. contents" are displayed at the bottom of the screen on the "message 
  881. line". The cell contents are the actual letters or numbers you typed
  882. when entering data into the cell. 
  883.  
  884. As a final exercise in this tutorial, type  /Z Y to clear
  885. the worksheet (a complete explanation of the Zap (/Z) command 
  886. appears later in the manual). Move the cursor to each cell listed 
  887. below, and enter the data exactly as shown. If you get an error 
  888. message on a line, press the ESC key to clear the entry line, then 
  889. type it again. All lines should go in as shown without errors. 
  890.  
  891.           At Coordinate:          Enter this data:
  892.                B2            Compute Annual Interest
  893.                B4            Rate: 
  894.                C4            5.5 
  895.                B6            Year
  896.                C6              Balance
  897.                D6             Interest
  898.                B7            "1983
  899.                C7            5000
  900.                D7            C7*C4/100 
  901.                B8            "1984
  902.                C8            C7+D7
  903.                D8            C8*C4/100 
  904.                B9            "1985
  905.                C9            C8+D8
  906.                D9            C9*C4/100 
  907.                B11           Totals
  908.                C11           C9+D9  
  909.                D11           SUM(D7:D9) 
  910.  
  911.  
  912. 8
  913.  
  914.  
  915.  
  916.  
  917.  
  918.  
  919.  
  920.  
  921.  
  922.  
  923.  
  924.  
  925. -
  926.  
  927.  
  928.  
  929.  
  930.  
  931.  
  932.  
  933.                                                 A BRIEF TUTORIAL
  934.  
  935.  
  936.  
  937. When the preceding data has been entered, your spreadsheet screen 
  938. should look like this:
  939.  
  940.                A          B          C          D      
  941.         1
  942.         2            Compute Annual Interest
  943.         3
  944.         4            Rate:             5.50
  945.         5
  946.         6            Year          Balance    Interest
  947.         7            1983          5,000.00     275.00
  948.         8            1984          5,275.00     290.13
  949.         9            1985          5,565.13     306.08
  950.        10                                                
  951.        11            Totals        5,871.21     871.21
  952.  
  953.  
  954. This simple spreadsheet computes the interest on a savings account 
  955. at a specified annual interest rate. Since this is a sample 
  956. exercise, the spreadsheet has been kept small, but later you will 
  957. learn how to use the "Replicate" command to extend a spreadsheet 
  958. like this one to fifty years or more, in a matter of seconds. The 
  959. "SUM" function in cell D11 is simply adding up the numbers in D7 
  960. through D9, so you can see the accumulated interest for three years.
  961.  
  962. Now let's try some "what if" experiments. What if the interest rate 
  963. were seven percent instead of 5.5? To see the result, simply move 
  964. to cell C4, type 7 and press ENTER. All the figures on the screen 
  965. are immediately updated with the new interest computation. Or what 
  966. if the interest were 18%? Try it. What if there were only $850.25 
  967. instead of $5000? Move the cursor to C7 and enter 850.25 and the 
  968. spreadsheet will immediately be recalculated. 
  969.  
  970. A printed report of the spreadsheet is often desirable.  Ready your 
  971. printer, then type the command /P which invokes the Print routine. 
  972. You will then be prompted for several options. For this simple 
  973. spreadsheet, just press ENTER for each of the options. The 
  974. spreadsheet will print, and CALC will return to its original 
  975. state, waiting for another command. 
  976.  
  977.  
  978.                                                                     9
  979.  
  980.  
  981.  
  982.  
  983.  
  984.  
  985.  
  986.  
  987.  
  988.  
  989.  
  990.  
  991. -
  992.  
  993.  
  994.  
  995.  
  996.  
  997.  
  998.  
  999. A BRIEF TUTORIAL
  1000.  
  1001.  
  1002.  
  1003. Finally, before exiting from CALC, let's save the spreadsheet on 
  1004. disk. Type /S to invoke the Save routine. You will be asked to 
  1005. enter the name of the spreadsheet; type TEST and press ENTER. 
  1006. CALC will say Saving file. Stand by . . . and the file will be 
  1007. written to your CALC disk. It can later be loaded using the /L 
  1008. command. (Note: If you get a message saying File Exists. Overwrite 
  1009. or Backup?, it only means that someone before you saved a file 
  1010. called TEST. Reply O to the message, and your TEST file will 
  1011. overwrite the one already on the disk.)
  1012.  
  1013. This concludes the brief tutorial. The remainder of this manual is 
  1014. organized for reference. It is a good idea to read through it to 
  1015. familiarize yourself with some of the more sophisticated commands. 
  1016. But the best way to learn CALC is to use it. 
  1017.  
  1018.  
  1019.  
  1020.  
  1021.  
  1022.  
  1023.  
  1024.  
  1025.  
  1026.  
  1027.  
  1028.  
  1029.  
  1030.  
  1031.  
  1032.  
  1033.  
  1034.  
  1035.  
  1036.  
  1037.  
  1038.  
  1039.  
  1040.  
  1041.  
  1042.  
  1043.  
  1044. 10
  1045.  
  1046.  
  1047.  
  1048.  
  1049.  
  1050.  
  1051.  
  1052.  
  1053.  
  1054.  
  1055.  
  1056.  
  1057. -
  1058.  
  1059.  
  1060.  
  1061.  
  1062.  
  1063.  
  1064.  
  1065.                                            GENERAL INFORMATION
  1066.  
  1067.  
  1068.  
  1069.  
  1070.                GENERAL INFORMATION
  1071.  
  1072.  
  1073. The maximum size of a CALC spreadsheet is 64 columns by 
  1074. 256 rows. The maximum content of a cell is 74 characters, and the 
  1075. maximum column width is 75 characters. The amount of memory 
  1076. available for your spreadsheet is displayed at all times in the 
  1077. lower left corner of the screen. It is a number followed by the 
  1078. letter "K". If it says 16K, for example, you still have 16K of 
  1079. memory available for typing text and formulas. If it says 1K, be 
  1080. careful. Your spreadsheet is getting too big and may fill memory, 
  1081. causing the MEMORY FULL message.
  1082.  
  1083. Three types of data may be entered into a cell: 
  1084.  
  1085. TEXT:       Column headings, item descriptions and so forth, are 
  1086.             text data. Normally you can just type the text and 
  1087.             press ENTER, causing it to appear in a cell. However, 
  1088.             if the text data is all numeric, or looks like a 
  1089.             formula, enter a quotation mark or apostrophe to tell 
  1090.             CALC that it's text. For example, in the tutorial 
  1091.             above, when we entered the year 1984, we entered it as 
  1092.             "1984. If we had entered it without the quotation mark, 
  1093.             CALC would have processed it as a value and 
  1094.             displayed it as 1,984.00. Any character may be typed in 
  1095.             a text entry. If the text data is wider than the 
  1096.             column, and there is nothing in the cell to its right, 
  1097.             it will overlap into subsequent cells. If there is 
  1098.             something in the cell to its right, the text data will 
  1099.             be truncated on the screen. The entire text entry is 
  1100.             retained in the cell, even if it does not all display. 
  1101.             Text can be left- or right-justified in the column by 
  1102.             using the Format (/F) command. Text entries can be 
  1103.             from 1 to 74 characters in length.
  1104.  
  1105.  
  1106.  
  1107.  
  1108.  
  1109.  
  1110.                                                                    11
  1111.  
  1112.  
  1113.  
  1114.  
  1115.  
  1116.  
  1117.  
  1118.  
  1119.  
  1120.  
  1121.  
  1122.  
  1123. -
  1124.  
  1125.  
  1126.  
  1127.  
  1128.  
  1129.  
  1130.  
  1131. GENERAL INFORMATION
  1132.  
  1133.  
  1134. VALUE:      A value is a number. When a value is entered into a 
  1135.             cell, it is displayed according to current defaults. 
  1136.             For example, you enter 12345 and it is displayed as 
  1137.             12,345.00. Each value is displayed according to the 
  1138.             display attributes of the cell.  These attributes can 
  1139.             be changed using the Format (/F) command. CALC 
  1140.             will accept values of any size. However, values which 
  1141.             have more than 14 decimal places to the left or right 
  1142.             of the decimal will appear in scientific notation. 
  1143. FORMULA:    A formula is one or more cell coordinates and/or one or 
  1144.             more values, combined using arithmetic operators. For 
  1145.             example, a formula might simply add together several 
  1146.             numbers: A1 + B1 + C1 + D1 or it might perform a 
  1147.             more complex task:  A1*2.5+(SUM(A1:D1)-.00005)
  1148.             Formulas can be up to 74 characters in length.
  1149.  
  1150. A formula can have any combination of cell coordinates, values, 
  1151. math functions, statistical functions and IF functions, each 
  1152. separated by an operator. An operator is a symbol or word which 
  1153. combines two numbers mathematically. For example, the plus sign is 
  1154. the operator for adding numbers together. CALC has many 
  1155. operators that can be used in formulas. They are:
  1156.  
  1157.       Operator        Purpose                  Example
  1158.  
  1159.           +     Addition                     A1 + 12345
  1160.           -     Subtraction                  A1 - 44.6
  1161.           *     Multiplication               A1 * 2 
  1162.           /     Division                     A1 / .003322
  1163.           ^     Exponentiation               2 ^ 8
  1164.           %     Percentage                   A1 % A5
  1165.          AND    Logical And (complement)     A1 AND A2
  1166.          OR     Logical Or (conjunction)     A1 OR A2
  1167.          NOT    Logical Not (disjunction)    NOT A5
  1168.           \     Modulo (remainder)           A1 \ 10
  1169.  
  1170.  
  1171.  
  1172.  
  1173.  
  1174.  
  1175.  
  1176. 12
  1177.  
  1178.  
  1179.  
  1180.  
  1181.  
  1182.  
  1183.  
  1184.  
  1185.  
  1186.  
  1187.  
  1188.  
  1189. -
  1190.  
  1191.  
  1192.  
  1193.  
  1194.  
  1195.  
  1196.  
  1197.                                            GENERAL INFORMATION
  1198.  
  1199.  
  1200. When CALC processes a formula, it follows standard mathematical 
  1201. rules of precedence: 
  1202.  
  1203.      * Exponentiation (^) is done first  
  1204.      * multiplication (*), division (/) and percentage (%) are next  
  1205.      * then modulo (\) 
  1206.      * then addition (+) and subtraction (-) 
  1207.      * then relational operators (=, >, etc.)
  1208.      * and finally, logical operators (AND, OR, NOT)
  1209.  
  1210. Some of these operators are well-known and require no further 
  1211. explanation. Others are less common, and will be recognized only by 
  1212. those with a mathematics background. The following paragraphs give 
  1213. further explanation of the less common operators. 
  1214.  
  1215. The Percentage operator (%) means "as a percent of". For example, 
  1216. the formula 3 % 5 can be read "3 as a percent of 5", and returns 60 
  1217. (3 is 60% of 5). 3 % 5 is the same as 3 * 100 / 5.
  1218.  
  1219. The Modulo operator (\) does division, then returns the remainder 
  1220. instead of the quotient. For example, 10 \ 3 returns 1. Instead of 
  1221. the backslash character, the word MOD may also be used in formulas 
  1222. to designate modulo. MOD must have a space on the left and right. 
  1223. 10 MOD 3 is the same as 10 \ 3. 
  1224.  
  1225. Relational operators are normally used in IF functions to compare 
  1226. two numbers. They are discussed in the Alphabetical Reference 
  1227. section of this manual, under IF function. However, relational 
  1228. operators may be used in formulas without IF, to return the truth 
  1229. value of a relation.
  1230.  
  1231. Logical, or Boolean, operators (AND, OR, NOT) are also usually 
  1232. used in conjunction with the IF function, but can be used in any 
  1233. formula. When two numbers are compared with a logical operator, 
  1234. a non-zero number is considered true, while zero is false. After 
  1235. logically combining the two numbers, if the result is true, a 1 is 
  1236. returned. If false, a zero is returned. The symbols &, | and ~ can 
  1237. be used for AND, OR and NOT if preferred. For example, 
  1238. 5 & 1 is the same as 5 AND 1, and returns a value of 1 (true). 
  1239.  
  1240.  
  1241.  
  1242.                                                                    13
  1243.  
  1244.  
  1245.  
  1246.  
  1247.  
  1248.  
  1249.  
  1250.  
  1251.  
  1252.  
  1253.  
  1254.  
  1255. -
  1256.  
  1257.  
  1258.  
  1259.  
  1260.  
  1261.  
  1262.  
  1263. GENERAL INFORMATION
  1264.  
  1265.  
  1266. Parts of a formula may be nested in parentheses, up to thirty 
  1267. levels. The following rules apply to formulas with parentheses:
  1268.  
  1269.      * Every left parenthesis must have a matching right 
  1270.        parenthesis, or else a formula error occurs.
  1271.  
  1272.      * Parenthesized expressions are always evaluated from the 
  1273.        inner-most to the outer-most. Using parentheses, the 
  1274.        precedence of the arithmetic operators can be overridden. 
  1275.        For example, A1+5*C1 will do the multiplication first, then 
  1276.        the addition. (A1+5)*C1 will do the addition first.
  1277.  
  1278.      * Use parentheses to separate two operators in a row. For 
  1279.        example, to multiply A1 times -5, the formula A1*-5 is not 
  1280.        valid because the * and - are together. Instead use this 
  1281.        format: A1*(-5) to accomplish the arithmetic.
  1282.  
  1283. A formula may also include a function, or consist solely of a 
  1284. function. For specific information on each function, see the 
  1285. alphabetical reference section. Some spreadsheet users are 
  1286. accustomed to prefixing a function name with an @ sign. For 
  1287. example, instead of TAN(A1) they might prefer to enter 
  1288. @TAN(A1). To accommodate these users, CALC accepts @ 
  1289. signs anywhere in a formula, and ignores them. 
  1290.  
  1291. Some spreadsheet users are also accustomed to entering a period 
  1292. instead of a colon between cells in a range. For example, instead 
  1293. of SUM(A1:A20) they are accustomed to entering SUM(A1.A20) or
  1294. maybe even @SUM(A1.A20). To accommodate these users, CALC 
  1295. accepts a period instead of a colon in a range, and ignores @ 
  1296. signs. 
  1297.  
  1298. Spaces may also be used freely in formulas. Lower-case characters 
  1299. may also be used, but they will be translated to upper-case 
  1300. (capital) letters. Spaces may not be used in the middle of function 
  1301. names or cell references. For example, AVE RAGE and A 12 are not 
  1302. acceptable in a formula.
  1303.  
  1304. Values and formulas may contain numbers in exponential form 
  1305. (similar to scientific notation). The mantissa and exponent are 
  1306.  
  1307.  
  1308. 14
  1309.  
  1310.  
  1311.  
  1312.  
  1313.  
  1314.  
  1315.  
  1316.  
  1317.  
  1318.  
  1319.  
  1320.  
  1321. -
  1322.  
  1323.  
  1324.  
  1325.  
  1326.  
  1327.  
  1328.  
  1329.                                            GENERAL INFORMATION
  1330.  
  1331.  
  1332. separated by the letter E (or e). A plus or minus sign is optional 
  1333. on the exponent. The E is effectively the same as *10^. Here are 
  1334. some examples of exponential numbers and formulas with exponential 
  1335. numbers:
  1336.  
  1337.                            3E10
  1338.                            5e-2
  1339.                            -5E+2
  1340.                            A1+3E10
  1341.                            -5E-2 + A1 - 3E10
  1342.  
  1343.  
  1344.  
  1345.  
  1346.  
  1347.  
  1348.  
  1349.  
  1350.  
  1351.  
  1352.  
  1353.  
  1354.  
  1355.  
  1356.  
  1357.  
  1358.  
  1359.  
  1360.  
  1361.  
  1362.  
  1363.  
  1364.  
  1365.  
  1366.  
  1367.  
  1368.  
  1369.  
  1370.  
  1371.  
  1372.  
  1373.  
  1374.                                                                    15
  1375.  
  1376.  
  1377.  
  1378.  
  1379.  
  1380.  
  1381.  
  1382.  
  1383.  
  1384.  
  1385.  
  1386.  
  1387. -
  1388.  
  1389.  
  1390.  
  1391.  
  1392.  
  1393.  
  1394.  
  1395. KEYBOARD CONVENTIONS
  1396.  
  1397.  
  1398.  
  1399.                         KEYBOARD CONVENTIONS 
  1400.  
  1401. Certain keys perform special functions in CALC. These keys fall 
  1402. into two categories; cell cursor keys and entry line keys. Once you 
  1403. start entering data, CALC goes into data entry mode, and only 
  1404. entry line keys will be recognized from the keyboard until the line 
  1405. is entered or cancelled. 
  1406.  
  1407.                         CELL CURSOR KEYS
  1408.  
  1409. Special Key      Alternate              Purpose of key
  1410.  
  1411. UP ARROW         CONTROL-E      Moves the cell cursor up one row.  
  1412.  
  1413. DOWN ARROW       CONTROL-X      Moves the cell cursor down one row. 
  1414.  
  1415. LEFT ARROW       CONTROL-S      Moves the cell cursor left one 
  1416. BACKSPACE                       column.
  1417. BACKTAB
  1418.  
  1419. RIGHT ARROW      CONTROL-D      Moves the cell cursor right one 
  1420. TAB                             column.
  1421.  
  1422. HOME                            Moves the cell cursor to the upper 
  1423.                                 left corner of the screen.
  1424.  
  1425. END                             Moves the cell cursor to the lower 
  1426.                                 right corner of the screen.
  1427.  
  1428. PAGE UP          CONTROL-R      Moves the cell cursor back (up) 
  1429.                                 one screen. (to center row)
  1430.  
  1431. PAGE DOWN        CONTROL-C      Moves the cell cursor forward (down)
  1432.                                 one screen. (to center row)
  1433.  
  1434.                  CONTROL-W      Moves the screen down one row  
  1435.                                 without moving the cell cursor.
  1436.  
  1437.  
  1438.  
  1439.  
  1440. 16
  1441.  
  1442.  
  1443.  
  1444.  
  1445.  
  1446.  
  1447.  
  1448.  
  1449.  
  1450.  
  1451.  
  1452.  
  1453. -
  1454.  
  1455.  
  1456.  
  1457.  
  1458.  
  1459.  
  1460.  
  1461.                                           KEYBOARD CONVENTIONS
  1462.  
  1463.  
  1464.                         CELL CURSOR KEYS
  1465.  
  1466. Special Key      Alternate              Purpose of key
  1467.                  CONTROL-Z      Moves the screen up one row  
  1468.                                 without moving the cell cursor.
  1469.  
  1470.                  CONTROL-N      Inserts a row above the row where
  1471.                                 the cell cursor is located.
  1472.  
  1473.                  CONTROL-Y      Deletes the row where the cell
  1474.                                 cursor is located.
  1475.  
  1476. =                CONTROL-Q      Prompts for a cell, and jumps to it.
  1477.  
  1478. !                               Recalculates all the formulas in 
  1479.                                 the spreadsheet.
  1480.  
  1481. /                               Prompts for a command code. 
  1482.  
  1483.                          ENTRY LINE KEYS
  1484.  
  1485. Special Key      Alternate              Purpose of key
  1486.  
  1487. BACKSPACE        CONTROL-S      Moves data cursor left one space.
  1488.  
  1489. TAB              CONTROL-D      Moves data cursor right one space.
  1490.  
  1491. ESCAPE           CONTROL-C      Cancels the current command or 
  1492.                                 entry, and erases the entry line.
  1493.  
  1494. INSERT           CONTROL-V      Toggles on/off insert mode. 
  1495.  
  1496. DELETE           CONTROL-G      Deletes the character of input 
  1497.                                 data at the cursor. 
  1498.  
  1499. HOME                            Moves the data cursor to the first
  1500.                                 character.
  1501.  
  1502. END                             Moves the data cursor to the end 
  1503.                                 of the formula or text.
  1504.  
  1505.  
  1506.                                                                    17
  1507.  
  1508.  
  1509.  
  1510.  
  1511.  
  1512.  
  1513.  
  1514.  
  1515.  
  1516.  
  1517.  
  1518.  
  1519. -
  1520.  
  1521.  
  1522.  
  1523.  
  1524.  
  1525.  
  1526.  
  1527. KEYBOARD CONVENTIONS
  1528.  
  1529.  
  1530.                          ENTRY LINE KEYS
  1531.  
  1532. Special Key      Alternate              Purpose of key
  1533.  
  1534. ENTER or         COMMA          Enters a command and processes it.
  1535. RETURN
  1536.  
  1537.                  CONTROL-T      Erases input data from the cursor 
  1538.                                 to the end of the entry line.
  1539.  
  1540. UP ARROW                        Enters a command, then moves the  
  1541.                                 cell cursor up one row.  
  1542.  
  1543. DOWN ARROW                      Enters a command, then moves the 
  1544.                                 cell cursor down one row. 
  1545.  
  1546. LEFT ARROW                      Enters a command, then moves the  
  1547.                                 cell cursor left one column. 
  1548.           
  1549. RIGHT ARROW                     Enters a command, then moves the  
  1550.                                 cell cursor right one column.
  1551.  
  1552. UP ARROW and DOWN ARROW move the cell cursor up and down a 
  1553. line at a time. When data or a command is being entered on the entry 
  1554. line, these keys operate like the ENTER key, followed by the arrow 
  1555. key. When the cell cursor reaches the top or bottom line, it stops 
  1556. moving. When these keys are held down, causing them to repeat, and 
  1557. they move off the current screen, CALC goes into a high-speed 
  1558. mode. The screen is not updated until the key is let up. However, 
  1559. the coordinate is displayed in the lower left corner of the screen. 
  1560.    
  1561. LEFT ARROW and RIGHT ARROW move the cell cursor to the left 
  1562. and right, one column at a time. If the column being moved into is 
  1563. not currently on the screen, the screen will be "scrolled" left or 
  1564. right to display it. When the cursor reaches the left or right edge 
  1565. of the spreadsheet (column A or column BL), it stops moving. When 
  1566. these keys are held down, causing them to repeat, CALC goes into 
  1567. high-speed mode, described in the previous paragraph. When moving 
  1568. the cell cursor around, BACKSPACE works exactly like the LEFT 
  1569. ARROW key and TAB works exactly like the RIGHT ARROW key.
  1570.  
  1571.  
  1572. 18
  1573.  
  1574.  
  1575.  
  1576.  
  1577.  
  1578.  
  1579.  
  1580.  
  1581.  
  1582.  
  1583.  
  1584.  
  1585. -
  1586.  
  1587.  
  1588.  
  1589.  
  1590.  
  1591.  
  1592.  
  1593.                                           KEYBOARD CONVENTIONS
  1594.  
  1595.  
  1596. When data is being entered on the entry line, the TAB key and 
  1597. BACKSPACE key serve a different purpose. Instead of moving the 
  1598. cell cursor, they move the small data cursor. BACKSPACE is 
  1599. non-destructive, so you can move back to a previous point in the 
  1600. entry line without erasing any of the right-most characters. 
  1601. Pressing BACKSPACE while on the first position of a command 
  1602. entry will cause the command to be terminated and erased. 
  1603.  
  1604. Pressing HOME moves the cursor to the cell in the upper left corner 
  1605. of the screen. Pressing END moves the cursor to the cell in the 
  1606. lower right corner of the screen. Pressing HOME twice moves the 
  1607. cursor to cell A1. Pressing END twice moves the cursor to the 
  1608. highest cell in the spreadsheet. If the cursor is already there, 
  1609. pressing it has no effect. 
  1610.  
  1611. The ESCAPE key, and its alternate, CONTROL-C, are popular keys 
  1612. for cancelling a command. These keys are only effective when 
  1613. something has been typed on the entry line. Pressing one of them 
  1614. will erase everything on the entry line, and move the cursor to the 
  1615. beginning of the line. If a command is cancelled with one of these 
  1616. keys, it is erased and has no effect. If text, a value or a formula 
  1617. are cancelled, the entry line is erased, and the contents of the 
  1618. current cell are unaltered.
  1619.  
  1620. Pressing the PAGE DOWN key advances the display so that the new 
  1621. screen contains the bottom three rows from the previous screen at 
  1622. the top of the new screen. The cell cursor is positioned on the 
  1623. middle row of the new screen. PAGE UP works just like PAGE 
  1624. DOWN, except that it moves backward instead of forward. 
  1625.  
  1626. Pressing CONTROL-W causes the screen to shift up one row, and a 
  1627. new row to be displayed at the bottom. Use it when you want to see 
  1628. some data that is just beyond the bottom of the screen. Note that 
  1629. CONTROL-W does not usually cause the cell cursor to move. The one 
  1630. exception is when the cell cursor is on the top line. Since the top 
  1631. line is being shifted off the screen, the cell cursor must move 
  1632. down one line to remain on the screen. CONTROL-Z works essentially 
  1633. the opposite of CONTROL-W: it causes the screen to shift down one 
  1634. row, and a new row to be displayed at the top.
  1635.  
  1636.  
  1637.  
  1638.                                                                    19
  1639.  
  1640.  
  1641.  
  1642.  
  1643.  
  1644.  
  1645.  
  1646.  
  1647.  
  1648.  
  1649.  
  1650.  
  1651. -
  1652.  
  1653.  
  1654.  
  1655.  
  1656.  
  1657.  
  1658.  
  1659. KEYBOARD CONVENTIONS
  1660.  
  1661.  
  1662. CONTROL-N is a quick method to insert a row. Using this key 
  1663. combination will cause a row to be inserted above the row the cell 
  1664. cursor is on. The same result may be accomplished with the Insert 
  1665. (/I) command (see Insert command in the Alphabetical Reference).
  1666.  
  1667. CONTROL-Y is a quick method to delete a row. Using this key 
  1668. combination causes the row at the cell cursor location to be 
  1669. deleted. The same result may be accomplished with the Delete (/D) 
  1670. command (see Delete command in the Alphabetical Reference section 
  1671. for details).
  1672.  
  1673. The INSERT key is used to add characters in the middle of the entry 
  1674. line such as a formula or text. Use the tab key to move the data 
  1675. cursor to the spot where the insertion is to be done. Press the 
  1676. INSERT key to toggle on the insert mode. The data cursor becomes 
  1677. enlarged, indicating that insert mode is toggled on. Now type the 
  1678. characters to be inserted. They will be inserted at the cursor 
  1679. position, and the data from the cursor to the end of the entry will 
  1680. be shifted right. When data being shifted reaches the right edge of 
  1681. the entry line, it disappears and is dropped. The INSERT key is 
  1682. only effective when there is data in the entry line. Other editing 
  1683. keys, such as BACKSPACE and DELETE can be used freely while 
  1684. Insert Mode is toggled on. To toggle off Insert Mode, press INSERT 
  1685. a second time. Pressing ENTER also automatically turns off Insert 
  1686. Mode. Note: There is a configuration option to make the INSERT 
  1687. key insert a single blank when it is pressed. See the section 
  1688. on Customizing CALC.
  1689.  
  1690. The DELETE key is only effective when entering data on the entry 
  1691. line. It causes the character at the data cursor to be erased, and 
  1692. all the characters to the right of it to be shifted left. To erase 
  1693. several characters, press DELETE multiple times. 
  1694.  
  1695. CONTROL-T is only effective when entering data on the entry line. 
  1696. It causes the character at the cursor and all data to the right of 
  1697. the cursor to be erased. 
  1698.  
  1699. The ENTER key (RETURN key) is used to enter a line of data. 
  1700. COMMA (,) can also be used to enter data. The one exception for 
  1701. the comma is when entering text. Since the comma is a valid text 
  1702.  
  1703.  
  1704. 20
  1705.  
  1706.  
  1707.  
  1708.  
  1709.  
  1710.  
  1711.  
  1712.  
  1713.  
  1714.  
  1715.  
  1716.  
  1717. -
  1718.  
  1719.  
  1720.  
  1721.  
  1722.  
  1723.  
  1724.  
  1725.                                           KEYBOARD CONVENTIONS
  1726.  
  1727.  
  1728. character, only the ENTER key or arrow keys terminate a text field. 
  1729.  
  1730. The EQUAL SIGN (=) invokes CALC's "Go To Coordinate" routine. 
  1731. To jump to a specific cell, type = followed by the cell coordinate. 
  1732. For example, =Z99 will move the cell cursor immediately to Z99. 
  1733.  
  1734. CONTROL-Q is the same as the equal sign, and can be followed by one 
  1735. of six control keys, to move the cursor around on the spreadsheet: 
  1736.  
  1737.      CONTROL-Q CONTROL-R             Move cell cursor to cell A1.
  1738.      (or HOME HOME)
  1739.  
  1740.      CONTROL-Q CONTROL-C             Move cell cursor to highest cell 
  1741.      (or END END)                    with data in it. (For example, if 
  1742.                                      the spreadsheet extends from row  
  1743.                                      1 to 20, and column A to K, this 
  1744.                                      will go to cell K20.)
  1745.  
  1746.      CONTROL-Q CONTROL-E             Move cell cursor to top row 
  1747.      (or = UP ARROW)                 on screen (same column).
  1748.  
  1749.      CONTROL-Q CONTROL-X             Move cell cursor to bottom row 
  1750.      (or = DOWN ARROW)               on screen (same column).
  1751.  
  1752.      CONTROL-Q CONTROL-S             Move cell cursor to left-most 
  1753.      (or = LEFT ARROW)               column on screen (same row).
  1754.  
  1755.      CONTROL-Q CONTROL-D             Move cell cursor to right-most 
  1756.      (or = RIGHT-ARROW)              column on screen (same row).
  1757.  
  1758. Users of popular software programs will recognize these as common 
  1759. control key sequences for moving the cursor around the screen. 
  1760.  
  1761. The EXCLAMATION POINT (!) causes "recalculation"; i.e. all the 
  1762. formulas in the spreadsheet are re-computed. This command is 
  1763. normally used when automatic recalculation has been turned off.
  1764. At startup, automatic recalculation is set on. Each time a number
  1765. or formula is entered, the message "CALCULATING" appears, 
  1766. and the cursor ripples through all the formulas. As your 
  1767. spreadsheet gets larger, the pause required to recalculate may grow 
  1768.  
  1769.  
  1770.                                                                    21
  1771.  
  1772.  
  1773.  
  1774.  
  1775.  
  1776.  
  1777.  
  1778.  
  1779.  
  1780.  
  1781.  
  1782.  
  1783. -
  1784.  
  1785.  
  1786.  
  1787.  
  1788.  
  1789.  
  1790.  
  1791. KEYBOARD CONVENTIONS
  1792.  
  1793.  
  1794. annoyingly long. Turn off auto recalculation using the Global, 
  1795. Manual (/GM) command, then when all your data is entered, type ! 
  1796. to recalculate. As each cell is recalculated, the cursor "ripples" 
  1797. across the screen, showing its progress. Normally recalculation 
  1798. proceeds across rows, but it can be set to go column-by-column 
  1799. using the /Global, Column/Row command.
  1800.  
  1801. The SLASH character (/) initiates a "command". You will be 
  1802. prompted with a list of valid commands such as Print, Format, etc.  
  1803. To invoke a command, key the first letter of the command. Most 
  1804. commands prompt for more information. Each command is described 
  1805. in detail in the "Alphabetical Reference" section.
  1806.  
  1807. When typing a command or data, it is not necessary to wait for the 
  1808. prompt message to be displayed. If you know what to enter, just 
  1809. type it. CALC pauses briefly before displaying a message, 
  1810. anticipating that you might already know what it is going to ask. 
  1811. If you press a key while the message is displaying, you may only 
  1812. get part of the message. CALC stops immediately when a key is 
  1813. pressed, and processes that key. During operations that take 
  1814. several seconds, such as saving files, recalculating or 
  1815. replicating, it is best not to enter data; some of the keystrokes 
  1816. might be ignored.
  1817.  
  1818.  
  1819.  
  1820.  
  1821.  
  1822.  
  1823.  
  1824.  
  1825.  
  1826.  
  1827.  
  1828.  
  1829.  
  1830.  
  1831.  
  1832.  
  1833.  
  1834.  
  1835.  
  1836. 22
  1837.  
  1838.  
  1839.  
  1840.  
  1841.  
  1842.  
  1843.  
  1844.  
  1845.  
  1846.  
  1847.  
  1848.  
  1849. -
  1850.  
  1851.  
  1852.  
  1853.  
  1854.  
  1855.  
  1856.  
  1857.                                        ALPHABETICAL REFERENCE
  1858.  
  1859.  
  1860.  
  1861.  
  1862.                         Alphabetical Reference
  1863.  
  1864. Name           Type      Purpose
  1865.  
  1866. ABS          Function    Absolute value 
  1867. ARRANGE      Command     Arrange (sort) columns or rows 
  1868. ATN          Function    Arctangent
  1869. AVERAGE      Function    Average of a range of numbers 
  1870. BLANK        Command     Blank out one or more cells 
  1871. CONFIGURE    Command     Reconfigure screen, keyboard, printer
  1872. COS          Function    Trigonometric Cosine
  1873. COUNT        Function    Count of a range of numbers
  1874. CPI          Function    Change characters per inch on printer
  1875. DELETE       Command     Delete a row or column
  1876. EDIT         Command     Edit the contents of a cell
  1877. EXP          Function    Mathematical number e raised to the x power 
  1878. FIX          Function    Integer (ignores sign)
  1879. FORMAT       Command     Change display characteristics of cell(s)
  1880. GLOBAL       Command     Change various spreadsheet settings
  1881. IF           Function    Conditional test; If...Then...Else
  1882. INSERT       Command     Insert a row or column
  1883. INT          Function    Integer (true integer; i.e. INT(-2.5) = -3)
  1884. KEYWORD      Function    Display current date, time, page number
  1885. LOAD         Command     Load a file into spreadsheet area from disk
  1886. LOG          Function    Natural logarithm
  1887. LOOKUP       Function    Table lookup based on key value
  1888. LPI          Function    Change lines per inch on printer
  1889. MAX          Function    Maximum value in a range of numbers
  1890. MIN          Function    Minimum value in a range of numbers
  1891. MOVE         Command     Move cells, columns, rows or blocks of cells
  1892. NOLF         Function    No line feed on this print line
  1893. NOPRINT      Function    Don't print this line 
  1894. NPV          Function    Net present value of a range of numbers
  1895. PAGE         Function    Page break or conditional page break on printer
  1896. PAYMENT      Function    Compute payment, given principal, rate, periods
  1897. PERIODS      Function    Compute periods, given principal, payment, rate
  1898. PRINCIPAL    Function    Compute principal, given payment, rate, periods
  1899.  
  1900.  
  1901.  
  1902.                                                                    23
  1903.  
  1904.  
  1905.  
  1906.  
  1907.  
  1908.  
  1909.  
  1910.  
  1911.  
  1912.  
  1913.  
  1914.  
  1915. -
  1916.  
  1917.  
  1918.  
  1919.  
  1920.  
  1921.  
  1922.  
  1923. ALPHABETICAL REFERENCE
  1924.  
  1925.  
  1926.                        Alphabetical Reference
  1927.  
  1928. Name           Type      Purpose
  1929.  
  1930. PRINT        Command     Print spreadsheet 
  1931. QUIT         Command     Exit from CALC
  1932. RANDOM       Function    Random number
  1933. RATE         Function    Compute rate, given principal, payment, periods
  1934. REPLICATE    Command     Copy cells, and optionally adjust
  1935. ROUND        Function    Round a number to specified decimals
  1936. SAVE         Command     Save a spreadsheet onto disk
  1937. SGN          Function    Sign of a number 
  1938. SIN          Function    Trigonometric sine function
  1939. SQR          Function    Square root 
  1940. STDEV        Function    Compute standard deviation of a range
  1941. SUM          Function    Sum a range of numbers
  1942. TAN          Function    Trigonometric tangent
  1943. TITLE        Command     Lock titles horizontally and/or vertically
  1944. UTILITY      Command     Delete and rename files; shell to DOS
  1945. WINDOW       Command     Split the screen into two windows
  1946. XTERNAL      Command     Retrieve data from other files or databases
  1947. ZAP          Command     Clear the spreadsheet area  
  1948.  
  1949.  
  1950.  
  1951.  
  1952.  
  1953.  
  1954.  
  1955.  
  1956.  
  1957.  
  1958.  
  1959.  
  1960.  
  1961.  
  1962.  
  1963.  
  1964.  
  1965.  
  1966.  
  1967.  
  1968. 24
  1969.  
  1970.  
  1971.  
  1972.  
  1973.  
  1974.  
  1975.  
  1976.  
  1977.  
  1978.  
  1979.  
  1980.  
  1981. -
  1982.  
  1983.  
  1984.  
  1985.  
  1986.  
  1987.  
  1988.  
  1989.                                                                ABS
  1990.  
  1991.  
  1992.  
  1993.                            ABS Function
  1994.  
  1995.  
  1996. Purpose:  Computes the absolute value of a cell or formula, and 
  1997.           returns the value to the current cell or formula. 
  1998.  
  1999.  
  2000. Format:   ABS(-35)       Returns 35. 
  2001.          
  2002.           ABS(A1)        If A1 = 35,  then ABS(A1) = 35.
  2003.                          If A1 = 0,   then ABS(A1) = 0.
  2004.                          If A1 = -35, then ABS(A1) = 35.
  2005.          
  2006.           ABS(A1*2/B5)   Resolves formula, then computes absolute 
  2007.                          value of the result.
  2008.  
  2009.  
  2010. Remarks:  ABS(x) can be entered into a cell, causing a negative 
  2011.           number to be converted to a positive number, and used as 
  2012.           the cell value. Or the ABS function can be used in a 
  2013.           formula, and/or may have a formula as its argument.
  2014.            
  2015.  
  2016. Example:  A spreadsheet compares two months' expenses (In 
  2017.           columns B and C), and prints a third column (D), called 
  2018.           "variance". The variance column is used in some later 
  2019.           computations which require all the numbers to be 
  2020.           positive. In cell D1 we want the difference between B1 
  2021.           and C1, with the sign removed if it is negative. We 
  2022.           enter:
  2023.  
  2024.                               ABS(B1-C1)
  2025.  
  2026.           The Replicate command can then be used to copy the 
  2027.           formula down the column. 
  2028.  
  2029.  
  2030.  
  2031.  
  2032.  
  2033.  
  2034.                                                                    25
  2035.  
  2036.  
  2037.  
  2038.  
  2039.  
  2040.  
  2041.  
  2042.  
  2043.  
  2044.  
  2045.  
  2046.  
  2047. -
  2048.  
  2049.  
  2050.  
  2051.  
  2052.  
  2053.  
  2054.  
  2055. ARRANGE
  2056.  
  2057.  
  2058.  
  2059.                         ARRANGE Command (/A)
  2060.  
  2061.  
  2062. Purpose:  Sorts a range of rows or columns into ascending or 
  2063.           descending sequence. 
  2064.  
  2065.  
  2066. Prompts:  After entering /A you are prompted: 
  2067.  
  2068.                        Column sort or Row sort?
  2069.  
  2070.           Respond C to sort cells which run down a column, or
  2071.           R to sort cells which run across a row. The default is 
  2072.           C, since most sorts are done on a column of names or 
  2073.           numbers. The remaining prompts shown here refer to 
  2074.           Column sorts. Row sorts have similar prompts. Entering 
  2075.           C, the next prompt is:
  2076.  
  2077.           Column letter to be sorted (or range if partial column)
  2078.  
  2079.           To sort all the cells in a column, just enter the column 
  2080.           letter, such as G, and press ENTER. To sort only a 
  2081.           partial range in the column, enter the from and to cells 
  2082.           separated by a colon. 
  2083.  
  2084.           The third prompt is: 
  2085.  
  2086.                        Ascending or Descending?
  2087.  
  2088.           To sort the lines in normal (ascending) sequence, type A, 
  2089.           or press ENTER. To sort them in reverse (descending) 
  2090.           sequence, type D. The next prompt is:
  2091.  
  2092.           Second column letter to be sorted (press ENTER if none)
  2093.  
  2094.           If only one column is being sorted, press ENTER. If there 
  2095.           is a second column to be sorted, enter its letter and 
  2096.           CALC will ask if it is to be sorted ascending or 
  2097.           descending. The next prompt is: 
  2098.  
  2099.  
  2100. 26
  2101.  
  2102.  
  2103.  
  2104.  
  2105.  
  2106.  
  2107.  
  2108.  
  2109.  
  2110.  
  2111.  
  2112.  
  2113. -
  2114.  
  2115.  
  2116.  
  2117.  
  2118.  
  2119.  
  2120.  
  2121.                                                        ARRANGE
  2122.  
  2123.  
  2124.  
  2125.             Third column letter to be sorted (press ENTER if none)
  2126.  
  2127.           Press ENTER if there is no third column. If a letter is 
  2128.           entered, CALC asks if it is to be sorted ascending or 
  2129.           descending. CALC now sorts the specified lines into 
  2130.           sequence, redisplays them, and adjusts formulas. 
  2131.  
  2132. Remarks:          Minimal input is required to do most sorts. For example, 
  2133.           to sort an entire spreadsheet in customer name sequence, 
  2134.           if the names are in column B, type: 
  2135.  
  2136.                       /ACB (ENTER) (ENTER) (ENTER)
  2137.  
  2138.           If there are headings on the spreadsheet, you do not want 
  2139.           them sorted with the detail lines. Enter a range of cells 
  2140.           that excludes the headings: 
  2141.  
  2142.                    /AC B5:B80 (ENTER) (ENTER) (ENTER)
  2143.  
  2144.           The sort precedence used by CALC is as follows:
  2145.  
  2146.                 1. Text spaces
  2147.                 2. Text special characters ($, %, &, etc.)
  2148.                 3. Text lower/upper case letters
  2149.                    (a, A, b, B, c, C, etc.)
  2150.                 4. Text numerals ("0", "1", "2", etc.)
  2151.                 5. Negative values/formulas (-3, -2, -1)
  2152.                 6. Zero values/formulas
  2153.                 7. Positive values/formulas (1, 2, 3) 
  2154.                 8. Empty cells
  2155.  
  2156.           This precedence is not ASCII sequence; it is a popular 
  2157.           collating sequence for reports. But what if your sort 
  2158.           requires precise ASCII sequence? Or you need to ignore 
  2159.           upper/lower case. Or ignore the sign of a number.  Or 
  2160.           sort numbers ahead of text. In those cases, the standard 
  2161.           precedence of the /Arrange command can be changed with 
  2162.           configuration options in the .PRO file. See the section 
  2163.           titled Customizing CALC for more information.
  2164.  
  2165.  
  2166.                                                                    27
  2167.  
  2168.  
  2169.  
  2170.  
  2171.  
  2172.  
  2173.  
  2174.  
  2175.  
  2176.  
  2177.  
  2178. -
  2179.  
  2180.  
  2181.  
  2182.  
  2183.  
  2184.  
  2185.  
  2186. ARRANGE
  2187.  
  2188.  
  2189.  
  2190.           The precedence for descending sorts is essentially the 
  2191.           same, except text is sorted z, Z, y, Y, x, X, etc., text 
  2192.           numerals are sorted 9, 8, 7, etc. and positive values are 
  2193.           sorted before zero, then negative values. 
  2194.  
  2195.           Note that values and formulas are sorted by their numeric 
  2196.           value, not by their contents. In other words, the number 
  2197.           is sorted, not the formula text. Formatting options are 
  2198.           also not included in the sort. For example, if a value 
  2199.           has a floating dollar sign, the dollar sign is not part 
  2200.           of the sorted data. If text is right-justified in the 
  2201.           cell, leaving spaces on the left, the spaces are not part 
  2202.           of the sort unless they were input as part of the text 
  2203.           string.
  2204.  
  2205.           If two cells have the same value, the one which comes 
  2206.           first remains first after sorting. Because of this, it is 
  2207.           possible to sort on more than three keys, even though 
  2208.           CALC allows for only a three key sort. Suppose you 
  2209.           want to sort a spreadsheet on five columns: A through E, 
  2210.           with A being the primary key, B the secondary, and so 
  2211.           forth. To accomplish this, start by sorting column E, 
  2212.           then sort column D, then C, then B, and finally A. At any 
  2213.           point in the sort, the sequence of your data may look a 
  2214.           bit strange, but when it is done, it will be in sequence 
  2215.           by columns A, B, C, D, then E. If this is a sort you do 
  2216.           regularly, you may want to set up a Smart Key to 
  2217.           automatically go through all the steps. 
  2218.  
  2219.           /Arrange can also be used to rearrange the columns of a 
  2220.           spreadsheet. On an empty row, put a number in each column 
  2221.           indicating where the column will appear in the new 
  2222.           report. Then sort on that row. The columns will be 
  2223.           rearranged in the new sequence, and formulas will be 
  2224.           adjusted accordingly.
  2225.  
  2226.           One word of caution: /Arrange can scramble a spreadsheet 
  2227.           into uselessness with just a few wrong keystrokes. It is 
  2228.           advisable to /Save your spreadsheet before experimenting 
  2229.  
  2230.  
  2231. 28
  2232.  
  2233.  
  2234.  
  2235.  
  2236.  
  2237.  
  2238.  
  2239.  
  2240.  
  2241.  
  2242.  
  2243.  
  2244. -
  2245.  
  2246.  
  2247.  
  2248.  
  2249.  
  2250.  
  2251.  
  2252.                                                        ARRANGE
  2253.  
  2254.  
  2255.           with a new sort. 
  2256.  
  2257.           To exit from /A without sorting, press ESCAPE or 
  2258.           BACKSPACE. 
  2259.  
  2260.  
  2261. Example:           EXAMPLE #1: A list of students and their test scores 
  2262.           has been entered into a spreadsheet. Student names (last 
  2263.           name then first name) are in column A. Scores are in 
  2264.           column B: 
  2265.                               A                    B
  2266.                     1   Smith, John                79
  2267.                     2   Jones, Sally              100
  2268.                     3   Doe, John                  55
  2269.                     4   Doaks, Joe                 79
  2270.  
  2271.           To sort the spreadsheet alphabetically by student name, 
  2272.           type /ACA (ENTER) (ENTER) (ENTER). The revised spread-
  2273.           sheet looks like this:
  2274.  
  2275.                               A                    B
  2276.                     1   Doaks, Joe                 79
  2277.                     2   Doe, John                  55
  2278.                     3   Jones, Sally              100
  2279.                     4   Smith, John                79   
  2280.  
  2281.  
  2282.           EXAMPLE #2: Using the same spreadsheet described in 
  2283.           example 1, sort it by test score, with the highest scores 
  2284.           at the top. If two or more students have the same score, 
  2285.           they should appear alphabetically. 
  2286.  
  2287.           Column B is the primary sort column, because we want to 
  2288.           sort by test score first. Column A is the secondary sort 
  2289.           column, because we want to sort any students with the 
  2290.           same test scores alphabetically by name. Type:
  2291.  
  2292.                /ACB (ENTER) D A (ENTER) (ENTER) (ENTER) 
  2293.  
  2294.           to sort on column B descending then column A ascending. 
  2295.  
  2296.  
  2297.                                                                    29
  2298.  
  2299.  
  2300.  
  2301.  
  2302.  
  2303.  
  2304.  
  2305.  
  2306.  
  2307.  
  2308.  
  2309. -
  2310.  
  2311.  
  2312.  
  2313.  
  2314.  
  2315.  
  2316.  
  2317. ARRANGE
  2318.  
  2319.  
  2320.  
  2321.           After a pause, during which CALC loads the sort 
  2322.           program and sorts the data, the spreadsheet is displayed:
  2323.  
  2324.                               A                    B
  2325.                     1   Jones, Sally              100
  2326.                     2   Doaks, Joe                 79
  2327.                     3   Smith, John                79
  2328.                     4   Doe, John                  55
  2329.  
  2330.  
  2331.           The students with the highest test scores appear first. 
  2332.           Since Doaks and Smith both have the same score of 79, 
  2333.           they appear alphabetically. If Jones' score had also been 
  2334.           79, she would have appeared alphabetically between Doaks 
  2335.           and Smith. 
  2336.  
  2337.           If the alphabetical sort in example 1 had been done just 
  2338.           prior to this sort, it would not have been necessary to 
  2339.           specify student names as a secondary sort field, since 
  2340.           they would have already been in alphabetic sequence. 
  2341.  
  2342.  
  2343.  
  2344.  
  2345.  
  2346.  
  2347.  
  2348.  
  2349.  
  2350.  
  2351.  
  2352.  
  2353.  
  2354.  
  2355.  
  2356.  
  2357.  
  2358.  
  2359.  
  2360.  
  2361.  
  2362. 30
  2363.  
  2364.  
  2365.  
  2366.  
  2367.  
  2368.  
  2369.  
  2370.  
  2371.  
  2372.  
  2373.  
  2374.  
  2375. -
  2376.  
  2377.  
  2378.  
  2379.  
  2380.  
  2381.  
  2382.  
  2383.                                                                ATN
  2384.  
  2385.  
  2386.  
  2387.                              ATN Function
  2388.  
  2389.  
  2390. Purpose:  Computes the arctangent of a cell or formula (in 
  2391.           radians), and returns the value to the current cell or 
  2392.           formula. 
  2393.  
  2394.  
  2395. Format:   ATN(3)           Returns 1.249045772
  2396.          
  2397.           ATN(A1)          If A1 = 3, and cell has 2 decimal 
  2398.                            places, returns 1.25 
  2399.  
  2400.           ATN(A1*2/B5)     Resolves formula, then computes 
  2401.                            arctangent 
  2402.  
  2403.  
  2404. Remarks:  ATN(x) can be entered into a cell, causing the arctangent 
  2405.           of a number to be computed, and used as the cell value. 
  2406.           Or the ATN function can be used in a formula, and/or may 
  2407.           have a formula as its argument.
  2408.            
  2409.  
  2410. Example:  Set up a simple spreadsheet which allows a tangent value 
  2411.           to be entered, and returns the arctangent in radians and 
  2412.           degrees. Enter the following:
  2413.  
  2414.                            A1:   Tangent:            
  2415.                            A2:   Radians:
  2416.                            A3:   Degrees:
  2417.                            B1:   1
  2418.                            B2:   ATN(B1)
  2419.                            B3:   B2*180/3.14159
  2420.  
  2421.           When a value is typed into B1, the angle, in radians, 
  2422.           displays in B2. The angle in degrees displays in B3.
  2423.  
  2424.  
  2425.  
  2426.  
  2427.  
  2428.                                                                    31
  2429.  
  2430.  
  2431.  
  2432.  
  2433.  
  2434.  
  2435.  
  2436.  
  2437.  
  2438.  
  2439.  
  2440.  
  2441. -
  2442.  
  2443.  
  2444.  
  2445.  
  2446.  
  2447.  
  2448.  
  2449. AVERAGE
  2450.  
  2451.  
  2452.  
  2453.                           AVERAGE Function
  2454.  
  2455.  
  2456. Purpose:  Computes the mean average of a range of numbers and 
  2457.           returns the result to the current cell or formula.
  2458.  
  2459. Format:   AVERAGE(A1:A20)      Averages a column of numbers
  2460.  
  2461.           AVERAGE(A5:E5)       Averages a row of numbers
  2462.  
  2463.           AVERAGE(A1:D20)      Averages a block of numbers
  2464.  
  2465. Remarks:  AVERAGE(m:n) can be entered into a cell, causing the 
  2466.           specified range to be averaged, and used as the cell 
  2467.           value. Or the AVERAGE function can be used in a formula. 
  2468.            
  2469.           The AVERAGE function is actually a combination of two 
  2470.           other functions: SUM and COUNT. AVERAGE(A1:A20) is the 
  2471.           same as:
  2472.                        SUM(A1:A20)/COUNT(A1:A20)
  2473.  
  2474.           The coordinate range specified in an AVERAGE function 
  2475.           may be down a column, such as AVERAGE(A1:A20), it may 
  2476.           be across a row, such as AVERAGE(A1:E1), or it may 
  2477.           be a block of cells (designated by the upper-left and 
  2478.           lower-right coordinates), such as AVERAGE(A1:D20).
  2479.  
  2480.           If the specified range of cells contains any empty cells, 
  2481.           they are ignored both in sum and count. If the range 
  2482.           contains any cells with text, ERROR is returned. 
  2483.  
  2484. Example:  Column B has a string of numbers from B7 to B26 which 
  2485.           are to be averaged. The result is to be placed in B27. At 
  2486.           B27 enter:
  2487.  
  2488.                           AVERAGE(B7:B26)
  2489.  
  2490.           After recalculation, B27 contains the mean average.
  2491.  
  2492.  
  2493.  
  2494. 32
  2495.  
  2496.  
  2497.  
  2498.  
  2499.  
  2500.  
  2501.  
  2502.  
  2503.  
  2504.  
  2505.  
  2506.  
  2507. -
  2508.  
  2509.  
  2510.  
  2511.  
  2512.  
  2513.  
  2514.  
  2515.                                                            BLANK
  2516.  
  2517.  
  2518.  
  2519.                           BLANK Command (/B)
  2520.  
  2521.  
  2522. Purpose:  Removes the contents from a cell or range of cells, 
  2523.           leaving them blank.
  2524.  
  2525. Prompts:  After entering /B you are prompted for the cell or cell 
  2526.           range. The default, if ENTER is pressed, is to blank the 
  2527.           current cell (the one where the cell cursor is located). 
  2528.  
  2529. Remarks:  The cell range may be a "block" of cells. For example the 
  2530.           range A1:C2 blanks A1, B1, C1, A2, B2 and C2. 
  2531.  
  2532.           The cell range may be the word ALL, in which case all the 
  2533.           cells in the spreadsheet are blanked. 
  2534.  
  2535.           The cell range may also be the word VALUES, in which case 
  2536.           all the cells which contain values are blanked, but the 
  2537.           cells with text and formulas remain intact.
  2538.  
  2539.           /B frees the memory the blanked cells are occupying. This 
  2540.           can be useful if you have a large spreadsheet that has 
  2541.           filled available memory. 
  2542.  
  2543.           /B does not clear protected cells. A protected cell is 
  2544.           one which has been marked by the /Format,Protect 
  2545.           command as a cell that cannot be changed. To /Blank 
  2546.           protected cells, they first must be unprotected using the 
  2547.           /Format,Unprotect command. If a range of cells is 
  2548.           /Blanked and some of them are protected, the protected 
  2549.           ones are ignored (left unchanged). This is actually a 
  2550.           handy feature in disguise. By selectively protecting 
  2551.           cells on your spreadsheet, you can do a /Blank,ALL and 
  2552.           have it clear only cells with unprotected data. For an 
  2553.           example of this, see the NOPRINT function example. 
  2554.           /Blank,VALUES clears only unprotected values, 
  2555.           leaving protected values intact. 
  2556.  
  2557.           To exit from /B without blanking any cells, press ESCAPE 
  2558.  
  2559.  
  2560.                                                                    33
  2561.  
  2562.  
  2563.  
  2564.  
  2565.  
  2566.  
  2567.  
  2568.  
  2569.  
  2570.  
  2571.  
  2572.  
  2573. -
  2574.  
  2575.  
  2576.  
  2577.  
  2578.  
  2579.  
  2580.  
  2581. BLANK
  2582.  
  2583.  
  2584.           or BACKSPACE. 
  2585.  
  2586. Example:  EXAMPLE #1: A number has accidentally been entered into 
  2587.           cell D5, and it needs to be removed. If the cell cursor 
  2588.           is located at D5, enter:
  2589.  
  2590.                             /B (ENTER) 
  2591.  
  2592.           If the cursor is not at D5, enter:
  2593.  
  2594.                            /B D5 (ENTER)
  2595.  
  2596.           EXAMPLE #2: A spreadsheet is being modified to do a 
  2597.           slightly different application. The last ten rows of the 
  2598.           spreadsheet (rows 25 to 34) are to be deleted. Enter: 
  2599.          
  2600.                          /B A25:BL34 (ENTER)
  2601.  
  2602.  
  2603.  
  2604.  
  2605.  
  2606.  
  2607.  
  2608.  
  2609.  
  2610.  
  2611.  
  2612.  
  2613.  
  2614.  
  2615.  
  2616.  
  2617.  
  2618.  
  2619.  
  2620.  
  2621.  
  2622.  
  2623.  
  2624.  
  2625.  
  2626. 34
  2627.  
  2628.  
  2629.  
  2630.  
  2631.  
  2632.  
  2633.  
  2634.  
  2635.  
  2636.  
  2637.  
  2638.  
  2639. -
  2640.  
  2641.  
  2642.  
  2643.  
  2644.  
  2645.  
  2646.  
  2647.                                                     CONFIGURE 
  2648.  
  2649.  
  2650.  
  2651.                       CONFIGURE Command (/C)
  2652.  
  2653.  
  2654. Purpose:  Configures the CALC display, keyboard and printer. The
  2655.           width, height, layout, and color of the screen display 
  2656.           can be set, the spreadsheet matrix can be changed, and 
  2657.           the printer can be selected. Configuration changes can 
  2658.           be made temporarily or permanently. 
  2659.  
  2660.  
  2661. Prompts:  Enter /C and you will be prompted:
  2662.  
  2663.           Video, Layout, Color, Matrix, Keys, Printer, Save
  2664.  
  2665.           Enter the first letter of the desired option. The next 
  2666.           prompt is one of the following:
  2667.  
  2668.           Video
  2669.           Type of Display: Mono, CGA, EGA, VGA or Other.
  2670.           Press the letter corresponding to the type of display 
  2671.           adapter in your computer. If you choose a display type 
  2672.           other than the one your computer has, the screen may go 
  2673.           blank, or characters may appear fuzzy. If this happens, 
  2674.           press <Ctrl-Alt-Del> to reboot your computer. 
  2675.  
  2676.           Some of the display types allow more than 25 lines on the 
  2677.           screen. In those cases, you are prompted for the number of 
  2678.           display lines. 
  2679.  
  2680.           For users with custom video boards other than those 
  2681.           listed, selecting "Other" tells CALC not to reset the 
  2682.           video display each time it starts. Some custom video 
  2683.           boards come with a utility program that allows the screen 
  2684.           size to be changed to a variety of widths and heights. By 
  2685.           running your custom video utility before starting CALC, 
  2686.           then starting CALC with "Other" video specified, you can 
  2687.           use such special features as 132-column-wide screens. 
  2688.          
  2689.  
  2690.  
  2691.  
  2692.                                                                    35
  2693.  
  2694.  
  2695.  
  2696.  
  2697.  
  2698.  
  2699.  
  2700.  
  2701.  
  2702.  
  2703.  
  2704.  
  2705. -
  2706.  
  2707.  
  2708.  
  2709.  
  2710.  
  2711.  
  2712.  
  2713. CONFIGURE 
  2714.  
  2715.  
  2716.           Layout
  2717.           Select screen layout: DME, DEM, MDE, MED, EDM, EMD.
  2718.           DME is an abbreviation for: Display/Message/Entry
  2719.           DEM is an abbreviation for: Display/Entry/Message
  2720.           MDE is an abbreviation for: Message/Display/Entry
  2721.           MED is an abbreviation for: Message/Entry/Display
  2722.           EDM is an abbreviation for: Entry/Display/Message
  2723.           EMD is an abbreviation for: Entry/Message/Display
  2724.  
  2725.           CALC comes configured as "DME"; i.e. the spreadsheet 
  2726.           display area is at the top of the screen, the two message 
  2727.           lines come below it, and the entry line is at the bottom. 
  2728.           Several popular spreadsheet programs use this layout, but 
  2729.           others use the "EMD" layout, with the entry line and 
  2730.           message lines at the top. (Note: If you are new to 
  2731.           CALC, it's best to use DME until you become familiar 
  2732.           with it because this manual assumes a setting of DME.)
  2733.          
  2734.           Color
  2735.           Border, Display, Message, Entry, Cursor,
  2736.           Protected, 1Bargraph, 2Bargraph, 3Bargraph, Window
  2737.           If your computer has a color board and a color monitor, 
  2738.           this option allows you to reset the screen colors. Enter 
  2739.           the first letter of one of the words above, and you are 
  2740.           prompted:
  2741.  
  2742.           B to advance background color, F to advance foreground
  2743.           color. When you find the colors you want, press ENTER.
  2744.  
  2745.           As you press B or F, the colors change on the screen. 
  2746.           Keep pressing the keys until you find the colors you 
  2747.           like. There are eight background colors, and sixteen 
  2748.           foreground colors. Press ENTER, to lock in the color for 
  2749.           the current area, and you are prompted to select another 
  2750.           area. Press BACKSPACE or ESCAPE to exit.
  2751.  
  2752.           Users with monochrome boards may want to experiment with 
  2753.           this option too. By rotating "colors" on a monochrome 
  2754.           board, inverse video, underlining and brightness can be 
  2755.           changed. 
  2756.  
  2757.  
  2758. 36
  2759.  
  2760.  
  2761.  
  2762.  
  2763.  
  2764.  
  2765.  
  2766.  
  2767.  
  2768.  
  2769.  
  2770.  
  2771. -
  2772.  
  2773.  
  2774.  
  2775.  
  2776.  
  2777.  
  2778.  
  2779.                                                     CONFIGURE 
  2780.  
  2781.  
  2782.  
  2783.           It is possible to make text "disappear" by making the 
  2784.           foreground and background color similar. If you have 
  2785.           missing data after configuring colors, restore from your 
  2786.           master copy of CALC, and start over.
  2787.  
  2788.           Matrix
  2789.           Enter the number of columns (1 to 255).
  2790.           CALC is configured for 64 columns by 256 lines. You 
  2791.           can change the dimensions of the spreadsheet workarea, 
  2792.           within certain limits. First of all, the total number of 
  2793.           cells cannot exceed 16,384. So if you specify 256 columns 
  2794.           wide, there will only be 64 lines in the matrix. On the 
  2795.           other hand, if you specify only ten columns, the number 
  2796.           of lines increase to 1,638. 
  2797.  
  2798.           After you enter the number of columns, CALC prompts 
  2799.           for the number of lines. The maximum number you may 
  2800.           enter has been calculated, and is displayed on the entry 
  2801.           line. If you want the maximum, just press ENTER. 
  2802.  
  2803.           The matrix size is not saved with each spreadsheet. It is 
  2804.           a startup option, which must be specified in a .PRO file, 
  2805.           or must be /Configured each time. 
  2806.  
  2807.           The Matrix option should only be used when the spreadsheet 
  2808.           area is empty. If it is not empty, a warning message is 
  2809.           given. You can either continue, and lose the current 
  2810.           contents of the spreadsheet area, or ESCAPE, save the 
  2811.           spreadsheet, then come back and reconfigure the matrix. 
  2812.  
  2813.           Keys
  2814.           Which Smart Key to define?
  2815.           Smart keys allow a sequence of keystrokes to be assigned 
  2816.           to a special key. When the key is pressed, the sequence is 
  2817.           sent to CALC as if it had been typed by the operator. 
  2818.           For example, if smart key 1 is set up as:
  2819.  
  2820.                              /L,EXAMPLE,,/GF 
  2821.           
  2822.  
  2823.  
  2824.                                                                    37
  2825.  
  2826.  
  2827.  
  2828.  
  2829.  
  2830.  
  2831.  
  2832.  
  2833.  
  2834.  
  2835.  
  2836.  
  2837. -
  2838.  
  2839.  
  2840.  
  2841.  
  2842.  
  2843.  
  2844.  
  2845. CONFIGURE 
  2846.  
  2847.  
  2848.           then whenever Alt-1 is pressed (Hold down Alt key and 
  2849.           press the 1 key at the top of the keyboard), the string 
  2850.           is sent to CALC. If CALC is awaiting a command 
  2851.           at the time, it will load the file named EXAMPLE, then 
  2852.           switch to Global Formula mode. 
  2853.  
  2854.           Up to twelve smart keys can be set up on the smart key 
  2855.           screen. They can later be invoked by holding down the ALT 
  2856.           key and pressing one of the keys on the top row of the 
  2857.           keyboard: 1-9, 0, - or =. Additional smart keys can be 
  2858.           defined for other keys, such as the ten Function keys on 
  2859.           the left, using the TRANSLATE x TO yyy option in 
  2860.           the .PRO file. TRANSLATE is discussed in the section 
  2861.           titled "Customizing CALC". 
  2862.  
  2863.           Smart key definitions are not saved with the spreadsheet. 
  2864.           To save them, use the /Configure,Save option and put them 
  2865.           into a .PRO file. If they are in the .PRO file named 
  2866.           CALC.PRO, they are automatically loaded when 
  2867.           CALC is started. If they are in a different .PRO file, 
  2868.           its name must be entered on the command line when 
  2869.           starting CALC. .PRO files are discussed in detail in 
  2870.           the section titled "Customizing CALC". 
  2871.  
  2872.           Most of CALC's prompts can be terminated with a comma, 
  2873.           so long strings of commands can usually be typed into a 
  2874.           smart key without requiring special characters. However, 
  2875.           if a special character such as a carriage return or 
  2876.           backspace must be imbedded in a smart key string, it must 
  2877.           be entered in a special format: square brackets enclosing 
  2878.           the ASCII value; i.e. carriage return is [13] and 
  2879.           backspace is [8]. In an earlier example we used commas to 
  2880.           terminate the fields on /LEXAMPLE,, but to terminate 
  2881.           the fields with carriage returns instead, the smart key 
  2882.           definition is /LEXAMPLE[13][13]. 
  2883.  
  2884.           The section titled "Customizing CALC" gives more 
  2885.           information on smart key strings with imbedded special 
  2886.           characters, and it includes a table of special keys and 
  2887.           their equivalent ASCII values. 
  2888.  
  2889.  
  2890. 38
  2891.  
  2892.  
  2893.  
  2894.  
  2895.  
  2896.  
  2897.  
  2898.  
  2899.  
  2900.  
  2901.  
  2902.  
  2903. -
  2904.  
  2905.  
  2906.  
  2907.  
  2908.  
  2909.  
  2910.  
  2911.                                                     CONFIGURE 
  2912.  
  2913.  
  2914.  
  2915.           Printer
  2916.           IBM Graphics, Epson, Proprinter, Okidata, Toshiba, 
  2917.           MPI or Comrex.
  2918.           This prompt lists a few brands of printers. If your 
  2919.           printer appears in the list, or if it is compatible with 
  2920.           one in the list, enter the first letter of the printer 
  2921.           name, and CALC will be custom configured for it. 
  2922.          
  2923.           CALC works with almost any printer, so don't despair 
  2924.           if yours isn't in the list. Only two things happen when 
  2925.           you configure for a specific printer:
  2926.  
  2927.                1. the CPI and LPI functions can be used 
  2928.                   to change characters per inch within a 
  2929.                   spreadsheet; and 
  2930.  
  2931.                2. when using the "setup" command while printing, 
  2932.                   you can press a single key to change character 
  2933.                   spacing, rather than type the printer control 
  2934.                   characters. 
  2935.  
  2936.           Both of these capabilities can be achieved for any 
  2937.           printer by using an only slightly more complex technique. 
  2938.           So no features are really "lost" if your printer is not 
  2939.           in the list; you just need to define your printer codes 
  2940.           in a .PRO file. For more information, see the section 
  2941.           titled Customizing CALC. 
  2942.  
  2943.           Save
  2944.           Enter the name of the .PRO file. The current system
  2945.           options will be written to the file. 
  2946.           Enter a file name. If the .PRO extension is left off, 
  2947.           it will be added. All of the Configuration, Global and 
  2948.           Print option settings are saved as they are currently 
  2949.           configured. The various options are written to the .PRO 
  2950.           file as keywords, which you can later change with a text 
  2951.           editor if you want. Press ESCAPE to exit without 
  2952.           saving.
  2953.  
  2954.  
  2955.  
  2956.                                                                    39
  2957.  
  2958.  
  2959.  
  2960.  
  2961.  
  2962.  
  2963.  
  2964.  
  2965.  
  2966.  
  2967.  
  2968.  
  2969. -
  2970.  
  2971.  
  2972.  
  2973.  
  2974.  
  2975.  
  2976.  
  2977. CONFIGURE 
  2978.  
  2979.  
  2980.           If a file named CALC.PRO exists, it is automatically 
  2981.           read when CALC is started. You can specify that a 
  2982.           second .PRO file be loaded after CALC.PRO by typing 
  2983.           the file name on the command line when starting 
  2984.           CALC. For example, if you type CALC BW from DOS, 
  2985.           CALC first loads CALC.PRO (if it exists), 
  2986.           then loads BW.PRO. 
  2987.  
  2988. Remarks:  If you are using CALC on an IBM PC with a standard 
  2989.           80-column color monitor, or on an IBM PC with a 
  2990.           monochrome board and monitor, CALC does not need 
  2991.           to be reconfigured unless you want to change the color or 
  2992.           layout of the screen. 
  2993.  
  2994.           If you have a computer or video monitor which requires 
  2995.           you to type BW or SL on the command line at startup, 
  2996.           you are actually telling CALC to read a profile file 
  2997.           of the name BW.PRO or SL.PRO. To eliminate typing 
  2998.           these codes each time, go to the DOS prompt and type:
  2999.  
  3000.                      RENAME BW.PRO CALC.PRO
  3001.  
  3002.           and the options will be automatically loaded each time 
  3003.           CALC is started. 
  3004.  
  3005.           The "Slow" screen refresh must be specified on some 
  3006.           brands of computers whose video RAM memory is not 
  3007.           compatible with that of the IBM PC. If you try running 
  3008.           CALC on your computer and it appears to load, but 
  3009.           nothing displays on the screen, try the SL profile,
  3010.           which uses standard BIOS calls for video display. 
  3011.          
  3012.           Some video boards cause excessive "flicker" on the screen 
  3013.           in "fast" mode. If this flicker is annoying, specifying 
  3014.           SL at startup will eliminate it. However, the trade-off 
  3015.           is slower display of data on the screen.
  3016.          
  3017.           If the height of your display is less than 25 lines, 
  3018.           perform the "Getting Started" procedure, then enter /C H 
  3019.           followed by the number of lines on your display. 
  3020.  
  3021.  
  3022. 40
  3023.  
  3024.  
  3025.  
  3026.  
  3027.  
  3028.  
  3029.  
  3030.  
  3031.  
  3032.  
  3033.  
  3034.  
  3035. -
  3036.  
  3037.  
  3038.  
  3039.  
  3040.  
  3041.  
  3042.  
  3043.                                                     CONFIGURE 
  3044.  
  3045.  
  3046.  
  3047.           For more details on customizing and personalizing your 
  3048.           version of CALC, see the section titled "Customizing 
  3049.           CALC."
  3050.  
  3051.  
  3052.  
  3053.  
  3054.  
  3055.  
  3056.  
  3057.  
  3058.  
  3059.  
  3060.  
  3061.  
  3062.  
  3063.  
  3064.  
  3065.  
  3066.  
  3067.  
  3068.  
  3069.  
  3070.  
  3071.  
  3072.  
  3073.  
  3074.  
  3075.  
  3076.  
  3077.  
  3078.  
  3079.  
  3080.  
  3081.  
  3082.  
  3083.  
  3084.  
  3085.  
  3086.  
  3087.  
  3088.                                                                    41
  3089.  
  3090.  
  3091.  
  3092.  
  3093.  
  3094.  
  3095.  
  3096.  
  3097.  
  3098.  
  3099.  
  3100.  
  3101. -
  3102.  
  3103.  
  3104.  
  3105.  
  3106.  
  3107.  
  3108.  
  3109. COS
  3110.  
  3111.  
  3112.  
  3113.                             COS Function
  3114.  
  3115.  
  3116. Purpose:  Computes the trigonometric cosine of a cell or formula 
  3117.           and returns the value to the current cell or formula. 
  3118.          
  3119.          
  3120. Format:   COS(3.14159)     Returns -1 
  3121.          
  3122.           COS(A1)          If A1 = 3.14159, returns -1 
  3123.          
  3124.           COS(A1*2/B5)     Resolves formula, then computes cosine 
  3125.        
  3126.   
  3127. Remarks:  COS(x) can be entered into a cell, causing the cosine of 
  3128.           a number to be computed, and used as the cell value. Or 
  3129.           the COS function can be used in a formula, and/or may 
  3130.           have a formula as its argument.
  3131.            
  3132.  
  3133. Example:  Set up a simple spreadsheet which allows a value in 
  3134.           radians to be entered, and returns the cosine: 
  3135.  
  3136.                          A1:  Radians:
  3137.                          A2:  Cosine: 
  3138.                          B1:  3.14159
  3139.                          B2:  COS(B1)
  3140.  
  3141.           When a value is typed into B1, the cosine is displayed in 
  3142.           B2. Enter 3.14159 in B1, and -1 is returned in B2. Now 
  3143.           change the spreadsheet so degrees can be entered instead 
  3144.           of radians:
  3145.  
  3146.                          A1:  Degrees:
  3147.                          A2:  Cosine: 
  3148.                          B1:  180 
  3149.                          B2:  COS(B1*3.14159/180)              
  3150.  
  3151.  
  3152.  
  3153.  
  3154. 42
  3155.  
  3156.  
  3157.  
  3158.  
  3159.  
  3160.  
  3161.  
  3162.  
  3163.  
  3164.  
  3165.  
  3166.  
  3167. -
  3168.  
  3169.  
  3170.  
  3171.  
  3172.  
  3173.  
  3174.  
  3175.                                                            COUNT
  3176.  
  3177.  
  3178.  
  3179.                           COUNT Function
  3180.  
  3181.  
  3182. Purpose:  Counts the number of non-empty cells in a range of 
  3183.           numbers and returns the resulting count to the current 
  3184.           cell or formula.
  3185.  
  3186.  
  3187. Format:   COUNT(A1:A20)       Counts a column of numbers
  3188.  
  3189.           COUNT(A1:E1)        Counts a row of numbers
  3190.  
  3191.           COUNT(A1:D20)       Counts a block of numbers
  3192.  
  3193.  
  3194. Remarks:  COUNT(m:n) can be entered into a cell, causing the 
  3195.           specified range to be counted, and the count used as the 
  3196.           cell value. Or the COUNT function can be used in a 
  3197.           formula. 
  3198.            
  3199.           The coordinate range specified in a COUNT function may 
  3200.           be down a column, such as COUNT(A1:A20), it may be 
  3201.           across a row, such as COUNT(A1:E1), or it may be a 
  3202.           block of cells (designated by the upper-left and lower-
  3203.           right coordinates), such as COUNT(A1:D20).
  3204.  
  3205.           If the specified range of cells contains any empty cells, 
  3206.           they are ignored by COUNT. If the range contains any 
  3207.           cells with text, ERROR is returned. 
  3208.  
  3209.  
  3210. Example:  Column B has a string of numbers from B7 to B26 which 
  3211.           are to be counted. The result is to be placed in B27. 
  3212.           At B27 enter:
  3213.  
  3214.                             COUNT(B7:B26)
  3215.  
  3216.           After recalculation, B27 contains the count.
  3217.  
  3218.  
  3219.  
  3220.                                                                    43
  3221.  
  3222.  
  3223.  
  3224.  
  3225.  
  3226.  
  3227.  
  3228.  
  3229.  
  3230.  
  3231.  
  3232.  
  3233.