home *** CD-ROM | disk | FTP | other *** search
/ Between Heaven & Hell 2 / BetweenHeavenHell.cdr / 500 / 404 / calc4.doc < prev    next >
Text File  |  1986-12-03  |  81KB  |  3,422 lines

  1. -
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.                                                          CUSTOMIZING CALC
  11.  
  12.  
  13.      ____________________________________________________________________
  14.  
  15.                                Customizing CALC
  16.  
  17.      One of the unique features of CALC is its ability to be tailored
  18.      to individual preferences and environments.
  19.  
  20.      Early versions of CALC were not very flexible. Like any good
  21.      software authors, before we started, we discussed the merits and
  22.      drawbacks of some other spreadsheet products. Then we borrowed
  23.      some concepts here and there, added a bit of our own creativity,
  24.      and started writing the programs.
  25.  
  26.      But many early CALC users had already used other spreadsheet
  27.      products. They were switching to CALC for many reasons: more
  28.      features; easier to use; compatible with other software; etc. As
  29.      letters and user response forms poured in, these early users quickly
  30.      delivered their message:
  31.  
  32.          "We sure wish CALC worked more like ________."
  33.  
  34.      (Fill in the blank with just about every spreadsheet product that
  35.      exists, and you begin to get the picture.)
  36.  
  37.      But it wasn't the internal features of the other brands, or the way
  38.      the manual was organized, or the names used for math functions.
  39.      What people wanted was for CALC's "user interface" -- the
  40.      keyboard and screen link to the user -- to look similar to other
  41.      products they had seen or used.
  42.  
  43.  
  44.         "I think the message and entry line should be at the top of
  45.          the screen, not the bottom."
  46.  
  47.         "Sure wish the arrow keys worked like they do in KillerKalc."
  48.  
  49.         "How about letting us enter @SUM instead of SUM? It would
  50.          really cut down on my FORMULA ERROR messages."
  51.  
  52.         "Will it work on my BelchFire 3-PC? Its screen is 64 by 16."
  53.  
  54.  
  55.                                                                       139
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67. -
  68.  
  69.  
  70.  
  71.  
  72.  
  73.  
  74.  
  75.  
  76.                                                          CUSTOMIZING CALC
  77.  
  78.  
  79.  
  80.      And the list goes on and on. So for the last two years we have
  81.      continued to add features, and still the requests pour in. This
  82.      version of CALC is so full of optional features and
  83.      customization capabilities, we have devoted an entire section of
  84.      the User Guide to it. This is it.
  85.  
  86.  
  87.      Profile (.PRO) Files
  88.      There is a file on the CALC distribution diskette which
  89.      demonstrates a profile in its simplest form. The file is called
  90.      BW.PRO, and if you were to print it or type it, this is all you
  91.      would see:
  92.                              BLACK AND WHITE
  93.  
  94.      Users with black and white monitors have already discovered this
  95.      file, or maybe have used it unwittingly. To start CALC for the
  96.      first time on a computer with a black and white monitor it is
  97.      necessary to type:
  98.  
  99.                                   CALC BW
  100.  
  101.      The BW on the DOS command line tells CALC to go find a file
  102.      called BW.PRO, read all the commands in it (only one in this case),
  103.      and change CALC's configuration accordingly.
  104.  
  105.      Another important step is performed before BW.PRO is read:
  106.      CALC tries to find a file called CALC.PRO. If found,
  107.      it is read first, and all the commands in it are processed, even if
  108.      no profile name is typed on the DOS command line. So, hey,
  109.      monochrome users: you don't have to remember to type BW everytime
  110.      you start up CALC. In DOS, just:
  111.  
  112.                           RENAME BW.PRO CALC.PRO
  113.  
  114.      Now when you start CALC it is not necessary to say BW; it is in
  115.      CALC's "automatic" profile.
  116.  
  117.      What if you want to specify two or more different options in the
  118.      profile? For an example of that, take a look at another file that
  119.  
  120.  
  121.                                                                       140
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133. -
  134.  
  135.  
  136.  
  137.  
  138.  
  139.  
  140.  
  141.  
  142.                                                          CUSTOMIZING CALC
  143.  
  144.  
  145.      comes on the CALC distribution diskette, BW40.PRO:
  146.  
  147.                              BLACK AND WHITE
  148.                              SCREEN WIDTH 40
  149.                              COLUMN WIDTH 8
  150.  
  151.      Any .PRO file can have any number of profile commands in it. Just
  152.      put them each on a separate line, with a carriage return/line feed
  153.      following them.
  154.  
  155.      A CALC profile command can also start with a slash. The slash is
  156.      optional when there is only one profile command per line. The
  157.      following form is acceptable too:
  158.  
  159.           BLACK AND WHITE;/SCREEN WIDTH 40;/COLUMN WIDTH 8
  160.  
  161.      In this mode, CALC looks for a semicolon/slash pair to mark the
  162.      end of a command, so if you put multiple commands on the same line,
  163.      put a semicolon and slash between them (with no space between the
  164.      semicolon and slash). Comma/slash was not used because commas and
  165.      slashes are both used heavily in CALC profile data strings, as
  166.      you will see later.
  167.  
  168.      If CALC finds a profile command that it doesn't recognize or
  169.      that has bad data,  the command is displayed on the screen and a
  170.      message is given:
  171.  
  172.      The .PRO file contains a statement which is not valid.
  173.      Press ENTER to ignore the statement and continue. Press Control-C
  174.      to return to DOS. Or re-type the statement and press ENTER.
  175.  
  176.      That about covers profile files. Now let's discuss the lines inside
  177.      the profile -- profile commands.
  178.  
  179.  
  180.      Profile Command Summary
  181.      Let's start by listing all the valid commands that can go into a
  182.      profile. They are listed in groups by function. Following this
  183.      section is a detailed discussion of some of the more exotic and
  184.      complex commands.
  185.  
  186.  
  187.                                                                       141
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.  
  196.  
  197.  
  198.  
  199. -
  200.  
  201.  
  202.  
  203.  
  204.  
  205.  
  206.  
  207.  
  208.                                                          CUSTOMIZING CALC
  209.  
  210.  
  211.                       PROFILE COMMANDS
  212.  
  213.      Screen configuration
  214.      MAXIMUM COLUMNS n          Overrides 64 columns
  215.      MAXIMUM LINES n            Overrides 256 lines
  216.      SCREEN WIDTH n             Overrides 80 column screen width
  217.      SCREEN LINES n             Overrides 25 lines on screen
  218.      COLUMN WIDTH n             Overrides 11 character column width default
  219.      SCREEN LAYOUT xxx          Overrides DME (Display, Message, Entry)
  220.      DISPLAY SLOW               Use ROM BIOS calls (for some compatibles)
  221.      ROMBIOS                    Use ROM BIOS calls (same as Display Slow)
  222.      GRAPH1 SCREEN x            Screen display character for bargraph 1
  223.      GRAPH2 SCREEN x            Screen display character for bargraph 2
  224.      GRAPH3 SCREEN x            Screen display character for bargraph 3
  225.      BRACKETS xy                Override () characters on negative numbers
  226.                              
  227.  
  228.      Keyboard interface
  229.      SMART CURSOR               Smart cursor on at startup
  230.      OLD CURSOR                 Cursor keys work like version 2.0
  231.      QUOTE ON TEXT              Require quotation mark on text (like 2.0)
  232.      NO QUOTE ON TEXT           No " on text, but formula starts with 0-9,+
  233.      TRANSLATE x TO yyy         Translate keyboard character to string
  234.                                 (This is how smart keys are stored)
  235.      KEYIN xxx...               Initialize keyboard buffer with this string
  236.      INSERT ONE SPACE           Insert key inserts one space; no toggle
  237.  
  238.  
  239.      Screen colors
  240.      BLACK AND WHITE            Set colors to black/white and white/black
  241.      BORDER COLOR x ON y        Set border color
  242.      DISPLAY COLOR x ON y       Set display area color
  243.      MESSAGE COLOR x ON y       Set message area color
  244.      ENTRY COLOR x ON y         Set entry line color
  245.      CURSOR COLOR x ON y        Set cell cursor color
  246.      PROTECT COLOR x ON y       Set color of protected cells
  247.      GRAPH1 COLOR x ON y        Set color of bar graph 1
  248.      GRAPH2 COLOR x ON y        Set color of bar graph 2
  249.      GRAPH3 COLOR x ON y        Set color of bar graph 3
  250.  
  251.  
  252.  
  253.                                                                       142
  254.  
  255.  
  256.  
  257.  
  258.  
  259.  
  260.  
  261.  
  262.  
  263.  
  264.  
  265. -
  266.  
  267.  
  268.  
  269.  
  270.  
  271.  
  272.  
  273.  
  274.                                                          CUSTOMIZING CALC
  275.  
  276.  
  277.                       PROFILE COMMANDS
  278.  
  279.      Global defaults
  280.      MANUAL CALCULATION         Set automatic recalculation off at startup
  281.      BORDER OFF                 Turn off the screen border at startup
  282.      COLUMN CALCULATION         Calculate down columns, not across rows
  283.      DEFAULT DECIMALS n         Override default two decimal places
  284.      DEFAULT FLOATING           Default to floating decimal places
  285.      DEFAULT SCIENTIFIC         Default to scientific notation
  286.      DEFAULT JUSTIFY x          Default to left, right or center justification
  287.      DEFAULT NO COMMAS          Default to no commas between thousands
  288.      DEFAULT GRAPHICS n         Default to graphic format n on numbers
  289.      DEFAULT $                  Default to display floating dollar sign
  290.      DEFAULT (                  Default to parentheses on negative numbers
  291.      DEFAULT %                  Default to percent sign on numbers
  292.      DEFAULT ZERO BLANK         Default to blanking out zero fields
  293.      GLOBAL FORMULAS            Default to display formulas in cells
  294.                              
  295.  
  296.      Print configuration
  297.      PRINTER WIDTH n            Override 80 char. wide default
  298.      LINES PER PAGE n           Override 58 line default
  299.      PRINTER OFFSET n           Override 7 character default
  300.      DOUBLE SPACE               Override single spacing default
  301.      TOP MARGIN n               Override 2 line default
  302.      COPIES n                   Override single copy default
  303.      HEADING TOP n              Specify heading starting line
  304.      HEADING BOTTOM n           Specify heading ending line
  305.      FOOTING TOP n              Specify footing starting line
  306.      FOOTING BOTTOM n           Specify footing ending line
  307.      PRINTER 10 CPI xx...       String to set printer to 10 char. per inch
  308.      PRINTER 12 CPI xx...       String to set printer to 12 char. per inch
  309.      PRINTER 17 CPI xx...       String to set printer to 17 char. per inch
  310.      PRINTER 6 LPI xx...        String to set printer to 6 lines per inch
  311.      PRINTER 8 LPI xx...        String to set printer to 8 lines per inch
  312.      PRINTER INIT xx...         String to send to printer before /Print
  313.      TRANSLATE PRINT TO         Translate a printed character to a string
  314.      GRAPH1 PRINT x             print character for bargraph 1
  315.      GRAPH2 PRINT x             print character for bargraph 2
  316.      GRAPH3 PRINT x             print character for bargraph 3
  317.  
  318.  
  319.                                                                       143
  320.  
  321.  
  322.  
  323.  
  324.  
  325.  
  326.  
  327.  
  328.  
  329.  
  330.  
  331. -
  332.  
  333.  
  334.  
  335.  
  336.  
  337.  
  338.  
  339.  
  340.                                                          CUSTOMIZING CALC
  341.  
  342.  
  343.                       PROFILE COMMANDS
  344.  
  345.      Sort commands
  346.      SORT SPACES n              Sort sequence: text starting with space
  347.      SORT SPECIAL CHAR n        Sort sequence: text starting with sp. char.
  348.      SORT LOWER CASE n          Sort sequence: text starting with letter
  349.      SORT UPPER CASE n          Sort sequence: text starting with letter
  350.      SORT NUMERALS n            Sort sequence: text starting with numeral
  351.      SORT NEGATIVE n            Sort sequence: negative value or formula
  352.      SORT ZERO n                Sort sequence: zero value or formula
  353.      SORT POSITIVE n            Sort sequence: positive value or formula
  354.      SORT EMPTY n               Sort sequence: empty cells
  355.      SORT Aa                    Sort upper case ahead of lower case
  356.      SORT IGNORE CASE           Sort lower case and upper case together
  357.  
  358.  
  359.      Other commands
  360.      PRINTER NAME               Brand of printer (used in some prompts)
  361.      ITERATIONS n               Repeat calculation n times
  362.      DEFAULT DRIVE              Default disk drive for /Load and /Save
  363.      DEFAULT EXTENSION          Default file extension (such as .CAL)
  364.      OPTIMIZE MEMORY            Increase memory capacity, but run slower
  365.      PROMPT                     Prompt for entry of profile commands
  366.      ON EXIT RUN program        On /Quit, run a specified .EXE program
  367.      
  368.  
  369.  
  370.      SCREEN CONFIGURATION
  371.      If CALC is already running on your computer, the easiest way to
  372.      configure the screen is to use the /Configure command. /Configure
  373.      allows you to see the changes immediately on the screen. When you
  374.      have it just the way you want it, do a /Configure, Save, which
  375.      creates a .PRO file with a name you specify.
  376.  
  377.      But maybe you have a computer that CALC can't run on until it's
  378.      configured. If that is the case, you can't run the /Configure
  379.  
  380.  
  381.  
  382.  
  383.  
  384.  
  385.                                                                       144
  386.  
  387.  
  388.  
  389.  
  390.  
  391.  
  392.  
  393.  
  394.  
  395.  
  396.  
  397. -
  398.  
  399.  
  400.  
  401.  
  402.  
  403.  
  404.  
  405.  
  406.                                                          CUSTOMIZING CALC
  407.  
  408.  
  409.      command. Four .PRO files are provided on the distribution diskette
  410.      for just this occasion:
  411.  
  412.                                BW.PRO
  413.                                40.PRO
  414.                                BW40.PRO
  415.                                SL.PRO
  416.  
  417.      The purpose of each of these files is explained in the "Getting
  418.      Started" section.
  419.      All the screen configuration options are discussed in the
  420.      /Configure section of the Alphabetical Reference. It is a good idea
  421.      to read that section even if you plan to use .PRO files rather than
  422.      /Configure. The only screen command which can not be set with
  423.      /Configure is the BRACKET xy command. This command allows you to
  424.      specify different characters for enclosing negative numbers. The
  425.      system default is   BRACKET ()  but you might want to specify:
  426.  
  427.                                BRACKET <>
  428.                                BRACKET []
  429.                                BRACKET {}
  430.  
  431.  
  432.      SMART CURSOR/OLD CURSOR
  433.      SMART CURSOR is explained under /Global, Smart-cursor in the
  434.      Alphabetical Reference section.
  435.  
  436.      OLD CURSOR causes the arrow keys to work as they did in versions
  437.      1.0 and 2.0 of CALC: Only the ENTER key can terminate a field.
  438.      Pressing left- or right-arrow while entering data does not move the
  439.      cell cursor; it moves the data cursor one character to the left or
  440.      right, like the backspace and tab keys. The up- and down-arrow keys
  441.      have no effect during data entry. The old method is no longer the
  442.      default, because most spreadsheet programs allow you to terminate a
  443.      field and move the cell cursor with a single keystroke.
  444.  
  445.  
  446.  
  447.  
  448.  
  449.  
  450.  
  451.                                                                       145
  452.  
  453.  
  454.  
  455.  
  456.  
  457.  
  458.  
  459.  
  460.  
  461.  
  462.  
  463. -
  464.  
  465.  
  466.  
  467.  
  468.  
  469.  
  470.  
  471.  
  472.                                                          CUSTOMIZING CALC
  473.  
  474.  
  475.      QUOTE/NO QUOTE
  476.      QUOTE ON TEXT requires that all text fields be started with a
  477.      quotation mark. Anything without a quotation mark is considered to
  478.      be a value or formula. This is the way version 1.0 and 2.0 worked.
  479.  
  480.      NO QUOTE ON TEXT is a popular way to differentiate between
  481.      text and formulas. No quotation mark is required on text unless the
  482.      text starts with a numeric digit or a plus or minus sign. Any field
  483.      that does not start with a numeric digit or plus or minus is
  484.      assumed to be text. The drawback to this method is that a formula
  485.      like A1+B1 will be taken as text, so it needs a plus sign at the
  486.      front to identify it as a formula: +A1+B1. 
  487.  
  488.      There are tradeoffs between QUOTE ON TEXT and NO QUOTE
  489.      ON TEXT. Would you rather remember to put a quotation mark on
  490.      your text, or a plus sign on formulas that start with a letter?
  491.      With these .PRO options you can suit yourself.
  492.  
  493.      The default method of differentiating text from formulas is
  494.      preferred by many, but still has its drawbacks. If neither of the
  495.      two options above are specified, and there is no " mark at the
  496.      front, CALC takes your data string and runs it through the
  497.      formula handler. If it comes back without a formula error, it is
  498.      considered a formula (or value). If it comes back with a formula
  499.      error it is considered text. There are two pitfalls here:
  500.  
  501.      (1) many text fields look suspiciously like formulas: 1985, for
  502.          example, or 8/24/85 will get processed as a formula unless you
  503.          remember to enter a quotation mark first.
  504.  
  505.      (2) If you make an error in your formula, such as mismatched
  506.          parentheses, the data is considered text, and placed in the
  507.          cell as such. So instead of a number, you may have a funny
  508.          looking formula in the middle of your balance sheet. It only
  509.          takes three strokes ( /E (ENTER) ) to get it back on the entry
  510.          line, assuming you notice it is wrong.
  511.  
  512.  
  513.  
  514.  
  515.  
  516.  
  517.                                                                       146
  518.  
  519.  
  520.  
  521.  
  522.  
  523.  
  524.  
  525.  
  526.  
  527.  
  528.  
  529. -
  530.  
  531.  
  532.  
  533.  
  534.  
  535.  
  536.  
  537.  
  538.                                                          CUSTOMIZING CALC
  539.  
  540.  
  541.      As you can see, there are no easy choices for differentiating text
  542.      from formulas. If anybody out there knows of a better way (not just
  543.      another way, please, but a better way) please advise. In the
  544.      meantime, you have your choice of three popular methods. You pick.
  545.  
  546.  
  547.      TRANSLATE
  548.      TRANSLATE x TO yyy... is a useful means of translating a
  549.      keyboard character into another character or string. The most
  550.      popular use of this command is for Smart Keys; see /Configure,Keys
  551.      for a discussion of them. But TRANSLATE can serve other purposes:
  552.  
  553.        Ctrl-a to an alpha symbol, Ctrl-b to beta, etc. so you don't have
  554.        to look up or remember the ASCII value for each of the symbols.
  555.  
  556.        be easier to remember Ctrl-e is an e with an acute accent; Alt-e
  557.        is an e with a grave accent, rather than ASCII 130 and 138.
  558.  
  559.      The first parameter of TRANSLATE specifies the keyboard character
  560.      to be translated. If it is more than one character long, only the
  561.      first character is used. The second parameter can be any length,
  562.      and is delimited by "TO" on the left and carriage return/line feed
  563.      on the right.
  564.  
  565.      If a carriage return (ENTER key) character is part of the
  566.      TRANSLATE string, use [13] to designate carriage return. Use
  567.      [8] to designate backspace. The numbers enclosed in brackets are
  568.      the ASCII values for carriage return and backspace. There are
  569.      several characters which you may want to use, for either the first
  570.      parameter or in the second parameter string, which cannot always be
  571.      typed into a string. Some special keys return an "extended code"
  572.      which is two characters long. For those keys, add the extended code
  573.      to 256 and enclose the number in square brackets. A table of
  574.      extended codes is in the back of the BASIC reference manual. A few
  575.      of the popular key values are listed here. To duplicate the
  576.      character shown on the left, use the ASCII sequence in square
  577.      brackets shown on the right. Any character's ASCII value can be
  578.      enclosed in square brackets, but these are some that
  579.      must be:
  580.  
  581.  
  582.  
  583.                                                                       147
  584.  
  585.  
  586.  
  587.  
  588.  
  589.  
  590.  
  591.  
  592.  
  593.  
  594.  
  595. -
  596.  
  597.  
  598.  
  599.  
  600.  
  601.  
  602.  
  603.  
  604.                                                          CUSTOMIZING CALC
  605.  
  606.  
  607.            Backspace         8           Up arrow        328
  608.            Tab               9           Down arrow      336
  609.            Line feed        10           Left arrow      331
  610.            ENTER (CR)       13           Right arrow     333
  611.            Backtab         271           Insert          338
  612.            Home            327           Delete          339
  613.            End             335
  614.  
  615.  
  616.      Here is an example of a translate statement which converts the
  617.      ESCAPE key (ASCII 27) to the string  /QY (ENTER) :
  618.  
  619.                        TRANSLATE [27] TO /QY[13]
  620.  
  621.      Since ESCAPE already has a special meaning in CALC, you will
  622.      need to use CONTROL-C to cancel commands. Or you could choose
  623.      another key and have it generate an ESCAPE code. That may be
  624.      getting a bit extreme, unless you are trying to duplicate a unique
  625.      set of keyboard conventions.
  626.  
  627.      A maximum of fifty TRANSLATE strings can be specified. They
  628.      can be any length, but if exceptionally long, they may cause an out
  629.      of memory condition.
  630.  
  631.  
  632.      KEYIN
  633.      The string following the KEYIN command is sent to the keyboard
  634.      buffer when CALC is started. It works similar to a smart key,
  635.      but doesn't require pressing a key at startup. Any string that is
  636.      valid in the second parameter of TRANSLATE may be used in
  637.      KEYIN. Special characters must have their ASCII value enclosed in
  638.      square brackets (see TRANSLATE).
  639.  
  640.  
  641.      SCREEN COLORS
  642.      The recommended way to configure screen colors is with the
  643.      /Configure command. It allows you to see the colors as you
  644.      configure them, and then you can save the color profile commands
  645.      with /Configure,Save. It is possible, but cumbersome, to configure
  646.      colors by typing profile commands. For example:
  647.  
  648.  
  649.                                                                       148
  650.  
  651.  
  652.  
  653.  
  654.  
  655.  
  656.  
  657.  
  658.  
  659.  
  660.  
  661. -
  662.  
  663.  
  664.  
  665.  
  666.  
  667.  
  668.  
  669.  
  670.                                                          CUSTOMIZING CALC
  671.  
  672.  
  673.  
  674.                   BORDER COLOR LIGHT MAGENTA ON CYAN
  675.  
  676.      Any of the sixteen colors can be used for the first (foreground)
  677.      color. Only the eight colors on the left can be used for the second
  678.      (background) color:
  679.  
  680.                         Black         Gray        
  681.                         Blue          Light Blue  
  682.                         Green         Light Green 
  683.                         Cyan          Light Cyan  
  684.                         Red           Light Red   
  685.                         Magenta       Light Magenta
  686.                         Brown         Yellow      
  687.                         White         Bright White
  688.  
  689.                     
  690.      GLOBAL DEFAULTS
  691.      Global defaults are described in detail in the /Global and /Format
  692.      command sections. They can be configured by using /G and /F to set
  693.      them, then doing a /Configure,Save or they can be typed directly
  694.      into a .PRO file.
  695.  
  696.  
  697.      PRINT CONFIGURATION
  698.      Most of the printer configuration options are explained in the
  699.      /Print command section. They can be configured by using /Print
  700.      to set them, then doing a /Configure,Save or they can be typed
  701.      directly into a .PRO file.
  702.                          
  703.      The PRINTER CPI and LPI profile commands are followed by an
  704.      ASCII string of any length. Rules for entering the ASCII string
  705.      are the same as the rules for entering the TRANSLATE TO string
  706.      (see above).
  707.  
  708.      TRANSLATE PRINT x TO y takes every character coming from
  709.      a CALC spreadsheet and going to a printed report and compares it
  710.      to the translate table. If a character matches, the translation is
  711.      made. The same rules discussed above for the TRANSLATE command
  712.      apply to the parameters of TRANSLATE PRINT. A maximum of fifty
  713.  
  714.  
  715.                                                                       149
  716.  
  717.  
  718.  
  719.  
  720.  
  721.  
  722.  
  723.  
  724.  
  725.  
  726.  
  727. -
  728.  
  729.  
  730.  
  731.  
  732.  
  733.  
  734.  
  735.  
  736.                                                          CUSTOMIZING CALC
  737.  
  738.  
  739.      translate strings can be specified. Heavy use of this feature can
  740.      slow down /Print noticeably.
  741.  
  742.  
  743.      ITERATIONS
  744.      When CALC calculates, it makes only one pass through the
  745.      formulas. For some applications, especially those with "forward
  746.      references", it is necessary to make a second pass through the
  747.      formulas, since they refer to formulas that were not calculated on
  748.      the first pass. It is possible to set the ITERATIONS to a large
  749.      number if there are computations which get increasingly accurate
  750.      with each recalculation.
  751.  
  752.  
  753.      OPTIMIZE MEMORY
  754.      As a rule, this profile command should not be used. If it is
  755.      present, CALC uses a more memory-efficient method of saving
  756.      cell contents. It also does not save the parsed version of
  757.      formulas, so they must be re-parsed on every calculation. This
  758.      slows down re-calculation. CALC will automatically switch to
  759.      OPTIMIZE MEMORY when spreadsheet memory becomes filled. If
  760.      you are working with a large spreadsheet that will fill memory if
  761.      CALC is optimized for speed, you can save some time in the
  762.      loading process by including this command in the profile.
  763.  
  764.  
  765.      BARGRAPH CONFIGURATION
  766.      The /Format, Bargraph command allows cells to be displayed in
  767.      horizontal bargraph format. Three aspects of bargraphs can be
  768.      changed: the color, the screen character and the print character.
  769.  
  770.      The easiest way to change bargraph colors is with the /Configure
  771.      command, so you can see the colors on the screen. It's a good idea
  772.      to have a sample spreadsheet with bargraphs on the screen when
  773.      /Configuring. Or the colors can be entered into a .PRO file
  774.      directly. See "Screen Colors" above.
  775.  
  776.      To change a bargraph character, use the  GRAPHn SCREEN x  or
  777.      GRAPHn PRINT x  commands, where  n  is 1 to 3, and  x  is any
  778.      displayable character;  x  may also be an ASCII value enclosed
  779.  
  780.  
  781.                                                                       150
  782.  
  783.  
  784.  
  785.  
  786.  
  787.  
  788.  
  789.  
  790.  
  791.  
  792.  
  793. -
  794.  
  795.  
  796.  
  797.  
  798.  
  799.  
  800.  
  801.  
  802.                                                          CUSTOMIZING CALC
  803.  
  804.  
  805.      in square brackets. The default bargraph characters on the
  806.      CALC distribution diskette are:
  807.  
  808.                               GRAPH1 SCREEN [178]
  809.                               GRAPH2 SCREEN [219]
  810.                               GRAPH3 SCREEN [176]
  811.                               GRAPH1 PRINT *
  812.                               GRAPH2 PRINT ]
  813.                               GRAPH3 PRINT /
  814.      
  815.      If your printer is capable of printing graphic symbols, you may
  816.      want to use them instead of  ****, ]]]]  and  //// . IBM graphics
  817.      printers and compatibles can specify the same character as the
  818.      screen character, so printed bargraphs will look similar to the
  819.      ones on the screen. There are dozens of characters that can be
  820.      used on the screen for bargraphs. The back of the BASIC manual
  821.      has an ASCII table with a picture of each character. Your printer
  822.      manual should have a similar table of printable characters. You
  823.      might experiment with different characters. How about gross sales
  824.      graphed in dollar sign characters ( GRAPH1 SCREEN $ ). Or net
  825.      profits graphed with happy faces ( GRAPH2 SCREEN [1] ).
  826.  
  827.  
  828.      SORT CONFIGURATION
  829.      The /Arrange command has a sort precedence which you may want to
  830.      override. Perhaps you want empty cells to sort at the end. Or you
  831.      want special characters to all be at the beginning. While sorting,
  832.      CALC puts a number at the front of each cell to indicate
  833.      the type of data the cell contains. This number prefix is sorted
  834.      with the data. The prefix number may be overridden with one of the
  835.      sort sequence profile commands. The defaults are:
  836.      
  837.                             SORT SPACES 20
  838.                             SORT SPECIAL CHAR 30
  839.                             SORT LOWER CASE 40
  840.                             SORT UPPER CASE 40
  841.                             SORT NUMERALS 50
  842.                             SORT NEGATIVE 60
  843.                             SORT ZERO 70
  844.                             SORT POSITIVE 80
  845.  
  846.  
  847.                                                                       151
  848.  
  849.  
  850.  
  851.  
  852.  
  853.  
  854.  
  855.  
  856.  
  857.  
  858.  
  859. -
  860.  
  861.  
  862.  
  863.  
  864.  
  865.  
  866.  
  867.  
  868.                                                          CUSTOMIZING CALC
  869.  
  870.  
  871.                             SORT EMPTY 90
  872.                             SORT aA
  873.      
  874.      The prefix numbers are assigned by tens so there is space between
  875.      them for renumbering. For example, to sort values first, use:
  876.           
  877.                             SORT NEGATIVE 1
  878.                             SORT ZERO 2
  879.                             SORT POSITIVE 3
  880.      
  881.      Note that upper-case (capital) letters and lower-case (small)
  882.      letters are both assigned the same sort precedence. Specifying a
  883.      lower number for upper-case will cause all upper-case letters to
  884.      sort before all lower-case letters. If both have the same
  885.      precedence, they will be sorted together like this: a, A, b, B, etc.
  886.      If you prefer: A, a, B, b, etc. use the  SORT Aa  profile command.
  887.      If lower case and upper case are to be sorted together as if they
  888.      were not different, use the  SORT IGNORE CASE  command.
  889.  
  890.      To ignore the sign on a value, (i.e. sort the absolute value),
  891.      assign NEGATIVE and POSITIVE the same prefix numbers:
  892.      
  893.                             SORT NEGATIVE 80
  894.                             SORT ZERO 70
  895.                             SORT POSITIVE 80
  896.      
  897.      The prefix number can be any integer from 0 to 255. On text fields,
  898.      sort precedence applies only to the first letter of text. After the
  899.      prefix number, the text field is sorted in upper-case ASCII
  900.      sequence.
  901.  
  902.  
  903.  
  904.  
  905.  
  906.  
  907.  
  908.  
  909.  
  910.  
  911.  
  912.  
  913.                                                                       152
  914.  
  915.  
  916.  
  917.  
  918.  
  919.  
  920.  
  921.  
  922.  
  923.  
  924.  
  925. -
  926.  
  927.  
  928.  
  929.  
  930.  
  931.  
  932.  
  933.  
  934.                                                          CUSTOMIZING CALC
  935.  
  936.  
  937.      If straight ASCII sequence is required on text fields, simply
  938.      assign all text fields the same prefix:
  939.      
  940.                             SORT SPACES 20
  941.                             SORT SPECIAL CHAR 20
  942.                             SORT LOWER CASE 20
  943.                             SORT UPPER CASE 20
  944.                             SORT NUMERALS 20
  945.  
  946.  
  947.  
  948.  
  949.  
  950.  
  951.  
  952.  
  953.  
  954.  
  955.  
  956.  
  957.  
  958.  
  959.  
  960.  
  961.  
  962.  
  963.  
  964.  
  965.  
  966.  
  967.  
  968.  
  969.  
  970.  
  971.  
  972.  
  973.  
  974.  
  975.  
  976.  
  977.  
  978.  
  979.                                                                       153
  980.  
  981.  
  982.  
  983.  
  984.  
  985.  
  986.  
  987.  
  988.  
  989.  
  990.  
  991. -
  992.  
  993.  
  994.  
  995.  
  996.  
  997.  
  998.  
  999.  
  1000.                                                          CALC FILE FORMAT
  1001.  
  1002.  
  1003.      ____________________________________________________________________
  1004.  
  1005.                                CALC FILE FORMAT
  1006.  
  1007.      This section is intended for programmers whose programs access data
  1008.      in CALC files, or whose programs create CALC files.
  1009.  
  1010.      The file format is designed so user programs can access it easily.
  1011.      Numbers are stored in string format. Formulas are stored exactly as
  1012.      they are entered. Attributes are stored as a string of characters,
  1013.      rather than internal binary flags. On cells with formulas, both the
  1014.      formula and the computed value are stored, allowing other programs
  1015.      to access the result without having to go through any computations.
  1016.  
  1017.  
  1018.      Reading The File
  1019.      In Microsoft BASIC, use the LINE INPUT# command to read data
  1020.      from the file. All data fields are string format. Numeric data can
  1021.      be read into a string workarea, then converted to a double-
  1022.      precision numeric value using the VAL function. See the sample at
  1023.      the end of this section for more details.
  1024.  
  1025.  
  1026.      Header Record
  1027.      The first record is the header record. It looks like this:
  1028.  
  1029.                                CALC 3.0
  1030.      
  1031.      To verify that the input file is a CALC file, check the first
  1032.      four characters of this record for the letters "CALC". The
  1033.      "3.0" is the version number of CALC that produced the output. If
  1034.      you are creating a CALC file in your own program, it is
  1035.      recommended that you use "0.0" through "0.9" in this field, so it
  1036.      is evident that the file was not created by CALC, but by another
  1037.      program. You can also put descriptive info in the record, starting
  1038.      at column 20, to describe the source and/or contents of the file.
  1039.  
  1040.  
  1041.  
  1042.  
  1043.  
  1044.  
  1045.                                                                       154
  1046.  
  1047.  
  1048.  
  1049.  
  1050.  
  1051.  
  1052.  
  1053.  
  1054.  
  1055.  
  1056.  
  1057. -
  1058.  
  1059.  
  1060.  
  1061.  
  1062.  
  1063.  
  1064.  
  1065.  
  1066.                                                          CALC FILE FORMAT
  1067.  
  1068.  
  1069.      Cell Contents
  1070.      Following the header record are the contents of each cell. Only
  1071.      those cells that have something in them are saved on disk. Each
  1072.      cell is saved as a series of five fields. They are:
  1073.  
  1074.           . Cell letter (expressed as a number from 1 to 255)
  1075.           . Cell row
  1076.           . Cell attributes (such as left-adjust, decimals, etc.)
  1077.           . Cell value
  1078.           . Formula (this field is null on text fields)
  1079.  
  1080.      To read these fields, start by reading the cell letter. Check to
  1081.      see if it equals "END". If it does equal "END", you have reached
  1082.      the end of the cell contents fields. Otherwise, read the other four
  1083.      fields, using LINE INPUT# commands.
  1084.  
  1085.  
  1086.      Cell Attributes
  1087.      The "cell attributes" field is a variable-length field, one or more
  1088.      bytes in length. The first byte identifies the type of contents in
  1089.      the cell. The first byte may be any one of the following:
  1090.  
  1091.                  T    = Cell contains text.
  1092.                  V    = Cell contains a numeric value.
  1093.                  F    = Cell contains a formula.
  1094.                space  = Cell is empty (except for attribute data).
  1095.  
  1096.  
  1097.      Other bytes of the attribute field are as follows:
  1098.  
  1099.            Position 2: Justification
  1100.                        L    = left-justify cell.
  1101.                        R    = right-justify cell.
  1102.                        C    = center-justify cell.
  1103.                      space  = use system default.
  1104.  
  1105.  
  1106.  
  1107.  
  1108.  
  1109.  
  1110.  
  1111.                                                                       155
  1112.  
  1113.  
  1114.  
  1115.  
  1116.  
  1117.  
  1118.  
  1119.  
  1120.  
  1121.  
  1122.  
  1123. -
  1124.  
  1125.  
  1126.  
  1127.  
  1128.  
  1129.  
  1130.  
  1131.  
  1132.                                                          CALC FILE FORMAT
  1133.  
  1134.  
  1135.            Position 3: Decimal positions
  1136.                      0 to 9 = number of decimal places.
  1137.                        :    = 10 decimal places.
  1138.                        ;    = 11 decimal places.
  1139.                        <    = 12 decimal places.
  1140.                        F    = floating decimal places.
  1141.                        S    = scientific notation.
  1142.                      space  = use system default.
  1143.  
  1144.            Position 4: Commas on numbers
  1145.                        Y    = Print number with commas.
  1146.                        N    = Print number without commas.
  1147.                      space  = Use system default.
  1148.  
  1149.            Position 5: Bargraph format
  1150.                        1    = Print number as graphics string 1.
  1151.                        2    = Print number as graphics string 2.
  1152.                        3    = Print number as graphics string 3.
  1153.                        N    = Print number as a number.
  1154.                      space  = Use system default.
  1155.  
  1156.            Position 6: Floating dollar sign
  1157.                        Y    = Print dollar sign to left of number.
  1158.                        N    = Print number without dollar sign.
  1159.                      space  = Use system default.
  1160.  
  1161.            Position 7: Parentheses around negative numbers
  1162.                        Y    = Print negative number with parentheses.
  1163.                        N    = Print negative number with minus sign.
  1164.                      space  = Use system default.
  1165.  
  1166.            Position 8: Trailing percent sign
  1167.                        Y    = Print number with trailing percent sign.
  1168.                        N    = Print number without percent sign.
  1169.                      space  = Use system default.
  1170.  
  1171.            Position 9: Cell contains an external reference (from
  1172.                        another spreadsheet or from a database)
  1173.                        Y    = Cell contains an external reference.
  1174.                        N    = Cell does not contain external reference.
  1175.  
  1176.  
  1177.                                                                       156
  1178.  
  1179.  
  1180.  
  1181.  
  1182.  
  1183.  
  1184.  
  1185.  
  1186.  
  1187.  
  1188.  
  1189. -
  1190.  
  1191.  
  1192.  
  1193.  
  1194.  
  1195.  
  1196.  
  1197.  
  1198.                                                          CALC FILE FORMAT
  1199.  
  1200.  
  1201.  
  1202.            Position 10: Hidden cell
  1203.                        P    = Hidden on printer only.
  1204.                        S    = Hidden on screen only.
  1205.                        B    = Hidden on printer and screen.
  1206.                      space  = Not hidden.
  1207.  
  1208.            Position 11: Protected cell
  1209.                        Y    = Cell is protected.
  1210.                      space  = Cell is not protected.
  1211.  
  1212.            Position 12: Print zeros as blanks (spaces)
  1213.                        Y    = Print zeros as blanks.
  1214.                        N    = Print zeros as zeros.
  1215.                      space  = Use system default.
  1216.  
  1217.            Positions 13-20: For future use.
  1218.  
  1219.  
  1220.      Note that the attribute field is variable length. If attributes on
  1221.      the right are blank, the field may be shortened.
  1222.  
  1223.  
  1224.  
  1225.  
  1226.  
  1227.  
  1228.  
  1229.  
  1230.  
  1231.  
  1232.  
  1233.  
  1234.  
  1235.  
  1236.  
  1237.  
  1238.  
  1239.  
  1240.  
  1241.  
  1242.  
  1243.                                                                       157
  1244.  
  1245.  
  1246.  
  1247.  
  1248.  
  1249.  
  1250.  
  1251.  
  1252.  
  1253.  
  1254.  
  1255. -
  1256.  
  1257.  
  1258.  
  1259.  
  1260.  
  1261.  
  1262.  
  1263.  
  1264.                                                          CALC FILE FORMAT
  1265.  
  1266.  
  1267.      Sample File
  1268.      For example, a small CALC file with only three cells might look
  1269.      like this:
  1270.      
  1271.                             CALC 3.0
  1272.                             1
  1273.                             1
  1274.                             TL
  1275.                             Sample Spreadsheet
  1276.                       
  1277.                             2
  1278.                             3
  1279.                             V
  1280.                             123.00
  1281.                             123
  1282.                             3
  1283.                             3
  1284.                             F
  1285.                             246.00
  1286.                             B3*2
  1287.                             END
  1288.      
  1289.      In this example the spreadsheet has cells with data at A1, B3 and
  1290.      C3. At A1, the cell contains text, because the first letter of the
  1291.      attribute is "T". The second letter of the attribute is "L", which
  1292.      indicates that the data is to be left-justified in the cell. Cell
  1293.      B3 contains the value 123.00, and so its attribute is "V" for
  1294.      value. The field with "123" is the actual value that was entered in
  1295.      that cell; it may not always be a single number. For example, it
  1296.      could contain "100+23". But the field that contains "123.00" will
  1297.      always be a single numeric value. To use it in your program,
  1298.      convert it to a double-precision number:
  1299.      
  1300.                         LINE INPUT# DISKIN,VALUE$
  1301.                         VALUE# = VAL(VALUE$)
  1302.      
  1303.      The formula at cell C3 has a value of 246.00 and a formula of B3*2.
  1304.      Since B3 contains the value 123.00, the formula was evaluated by
  1305.      CALC and came up with the value 246.00. Finally, the table ends
  1306.      with the word "END".
  1307.  
  1308.  
  1309.                                                                       158
  1310.  
  1311.  
  1312.  
  1313.  
  1314.  
  1315.  
  1316.  
  1317.  
  1318.  
  1319.  
  1320.  
  1321. -
  1322.  
  1323.  
  1324.  
  1325.  
  1326.  
  1327.  
  1328.  
  1329.  
  1330.                                                          CALC FILE FORMAT
  1331.  
  1332.  
  1333.  
  1334.      Remaining Fields Optional
  1335.      The fields explained below, which follow the "END" statement, are
  1336.      optional. If the file ends with "END", or with only some of the
  1337.      optional fields, CALC will load the fields that are present, and
  1338.      use system defaults for the rest.
  1339.  
  1340.  
  1341.      Column Width
  1342.      Immediately following the "END" statement are a series of column
  1343.      width fields. These fields are numeric integers, with values from 0
  1344.      to 75, and they are followed by another "END" statement. The reason
  1345.      for this second "END" statement is that the number of columns may
  1346.      change when the matrix dimension is reconfigured, and CALC
  1347.      needs to know when column width numbers stop.
  1348.  
  1349.  
  1350.      Other Parameters
  1351.      Following the column widths are the following parameters:
  1352.  
  1353.         . Letter number of cell cursor position (1 to 255)
  1354.         . Row number of cell cursor position (1 to 9999)
  1355.         . Row/col or col/row sequence setting (0=row, 1=col)
  1356.         . Border on/off setting (0=on, 1=off)
  1357.         . Default decimal places (0 to 12 or F or S)
  1358.         . Default justification (" "=none, L=left, R=right, C=center)
  1359.         . Default commas (" "=none, Y=yes, N=no)
  1360.         . Zeros as blanks (0=no, 1=yes)
  1361.         . Print width (1 to 999)
  1362.         . Print length (1 to 999)
  1363.         . Print options (D=double space, etc. See print command.)
  1364.         . Print page offset (0 to 99)
  1365.         . Default graphics (" "=none, Y=yes, N=no)
  1366.         . Default dollar sign (" "=none, Y=yes, N=no)
  1367.         . Default parentheses on negatives (" "=none, Y=yes, N=no)
  1368.         . Default percent sign (" "=none, Y=yes, N=no)
  1369.         . Manual calculation setting (1=manual, 0=automatic)
  1370.         . Global formula setting (1=formulas, 0=normal display)
  1371.         . Top margin (1 to 99)
  1372.         . Number of copies (1 to 999)
  1373.  
  1374.  
  1375.                                                                       159
  1376.  
  1377.  
  1378.  
  1379.  
  1380.  
  1381.  
  1382.  
  1383.  
  1384.  
  1385.  
  1386.  
  1387. -
  1388.  
  1389.  
  1390.  
  1391.  
  1392.  
  1393.  
  1394.  
  1395.  
  1396.                                                          CALC FILE FORMAT
  1397.  
  1398.  
  1399.         . Heading top line
  1400.         . Heading bottom line
  1401.         . Footing top line
  1402.         . Footing bottom line
  1403.         . Title locking pointers
  1404.  
  1405.      As this product is enhanced, more special parameters will be added
  1406.      at the end. The program checks for end-of-file as it loads, so if
  1407.      some new parameters are missing, the module will still load. It
  1408.      will use currently set defaults for the missing parameters. None of
  1409.      these parameters are required for the spreadsheet to display, and
  1410.      it is recommended that programs passing data to CALC not pass
  1411.      these parameters unless it is absolutely necessary. Bad data in one
  1412.      of the fields can cause unpredictable results.
  1413.  
  1414.  
  1415.      Sample BASIC Subroutine
  1416.      This routine demonstrates how a program might read a CALC
  1417.      file. This routine puts the value of each numeric cell into a two-
  1418.      dimensional array called TABLE#. The routine assumes that
  1419.      housekeeping functions such as opening files, dimensioning arrays,
  1420.      etc. have been performed earlier.
  1421.      
  1422.      1000   LINE INPUT# DISKIN,LETTER$          'Read letter.
  1423.             IF LETTER$ = "END" THEN RETURN      'If END, exit.
  1424.             LETTER = VAL(LETTER$)               'Convert to numeric.
  1425.             LINE INPUT# DISKIN,LINE$            'Input line number.
  1426.             ROW = VAL(LINE$)                    'Convert to numeric.
  1427.             LINE INPUT# DISKIN,ATTRIBUTES$      'Read attributes.
  1428.             LINE INPUT# DISKIN,VALUE$           'Read value of cell.
  1429.             LINE INPUT# DISKIN,FORMULA$         'Read formula.
  1430.             TYPE$ = LEFT$(ATTRIBUTES$,1)        'Extract type code.
  1431.             IF TYPE$ = "T" THEN RETURN          'Ignore text and
  1432.             IF TYPE$ = " " THEN RETURN          'null fields.
  1433.             TABLE#(LETTER,ROW) = VAL(VALUE$)    'Put number in table.
  1434.             GOTO 1000                           'Loop.
  1435.      
  1436.  
  1437.  
  1438.  
  1439.  
  1440.  
  1441.                                                                       160
  1442.  
  1443.  
  1444.  
  1445.  
  1446.  
  1447.  
  1448.  
  1449.  
  1450.  
  1451.  
  1452.  
  1453. -
  1454.  
  1455.  
  1456.  
  1457.  
  1458.  
  1459.  
  1460.  
  1461.  
  1462.                                                              ENHANCEMENTS
  1463.  
  1464.  
  1465.      ____________________________________________________________________
  1466.  
  1467.                                VERSION NUMBERS
  1468.                             AND MAJOR ENHANCEMENTS
  1469.  
  1470.  
  1471.      CALC 1.0 (January 1984)
  1472.           . Enhanced /Print options: page length, titles, borders,
  1473.             offset and setup.
  1474.           . Added support for Home, End, Pg Up, Pg Down keys.
  1475.           . Added new global command: Zeros-as-blanks.
  1476.           . Added directory display to /Load and /Save commands.
  1477.           . Added /Edit command.
  1478.           . Added /Configure command.
  1479.  
  1480.       
  1481.      CALC 2.0 (November 1984)
  1482.           . Zero column width for "hidden" columns
  1483.           . Sheet-to-sheet linkage allows data to be retrieved into a
  1484.             spreadsheet from another spreadsheet, providing a
  1485.             "3-dimensional" capability.
  1486.           . Data in File Express or PC-File databases can be retrieved
  1487.             directly into a cell. No limit to the number of databases
  1488.             that can be accessed by a single spreadsheet.
  1489.           . New formatting options:
  1490.               . Center-justify
  1491.               . Floating dollar sign
  1492.               . Trailing percent sign
  1493.               . Negatives in parentheses or with minus sign
  1494.               . Horizontal bar graphs using ******
  1495.           . Title locking - vertical, horizontal or both
  1496.           . New print options:
  1497.               . Output to printer or disk
  1498.               . Dot commands for page breaks, conditional page breaks,
  1499.                 characters per inch (undocumented).
  1500.               . Printer setup strings
  1501.           . If...Then function (Nesting permitted)
  1502.           . Configure for popular brands of printers
  1503.  
  1504.  
  1505.  
  1506.  
  1507.                                                                       161
  1508.  
  1509.  
  1510.  
  1511.  
  1512.  
  1513.  
  1514.  
  1515.  
  1516.  
  1517.  
  1518.  
  1519. -
  1520.  
  1521.  
  1522.  
  1523.  
  1524.  
  1525.  
  1526.  
  1527.  
  1528.                                                              ENHANCEMENTS
  1529.  
  1530.  
  1531.           . Math functions: Absolute value, Arctangent, Cosine, e to
  1532.             the power of x, Integer, True integer, Natural log, Sign,
  1533.             Sine, Square root and Tangent
  1534.           . Statistical functions: Average, Count, Minimum, Maximum
  1535.           . Net present value function
  1536.           . Column width from 0 to 75
  1537.           . Exponentiation in formulas
  1538.           . 110 page reference manual
  1539.  
  1540.      CALC 3.0 (September 1985)
  1541.           . Faster calculation
  1542.           . Faster screen display
  1543.           . Uses all available RAM memory
  1544.           . 64 columns by 256 lines
  1545.           . Variable matrix: 256 x 64 to 1 x 9999
  1546.           . Quotation mark not required on text
  1547.           . Arrow keys terminate a field and move the cursor
  1548.           . ESCAPE key now works like CONTROL-C
  1549.           . Smart-cursor (automatic movement in previous direction)
  1550.           . AND, OR, NOT logical operators; Modulo operator; % operator
  1551.           . New functions: Random number, Lookup, Standard deviation,
  1552.             Payment, Principal, Periods, Rate
  1553.           . Alternate form of IF:  IF x THEN y ELSE z
  1554.           . Iterative recalculation option
  1555.           . New formatting options:
  1556.               . Horizontal bar graphs in three colors/characters
  1557.               . Protect/Unprotect cells
  1558.               . Hide cells
  1559.               . Zero-blank cells
  1560.               . Up to 12 decimals, or Floating, or Scientific (3E10)
  1561.           . Exponential form (3E10) acceptable in formulas
  1562.           . Smart keys
  1563.           . KEYIN xxx, ON EXIT RUN pgm, TRANSLATE options
  1564.           . /Global Formula option displays formulas on-screen
  1565.           . .PRO file support
  1566.           . /Arrange (Sort) command
  1567.           . /Delete, File command
  1568.           . /Load, Consolidate command
  1569.  
  1570.  
  1571.  
  1572.  
  1573.                                                                       162
  1574.  
  1575.  
  1576.  
  1577.  
  1578.  
  1579.  
  1580.  
  1581.  
  1582.  
  1583.  
  1584.  
  1585. -
  1586.  
  1587.  
  1588.  
  1589.  
  1590.  
  1591.  
  1592.  
  1593.  
  1594.                                                              ENHANCEMENTS
  1595.  
  1596.  
  1597.           . New print options:
  1598.               . Multiple line headings
  1599.               . Multiple line footings
  1600.               . Multiple copies
  1601.               . Specify top margin
  1602.               . Optional printer INIT string
  1603.               . Printer functions: char-per-inch, lines-per-inch,
  1604.                 page break, conditional page break, NOPRINT, NOLF,
  1605.                 date/time/page number
  1606.           . /Replicate option: Adjust ALL
  1607.           . /Save files in DIF or MailMerge format
  1608.           . Optionally rename old copy to filename.BAK
  1609.           . /Load DIF files, MailMerge files, File Express databases or
  1610.             PC-File databases
  1611.           . Default drive and/or extension option
  1612.  
  1613.  
  1614.  
  1615.  
  1616.  
  1617.  
  1618.  
  1619.  
  1620.  
  1621.  
  1622.  
  1623.  
  1624.  
  1625.  
  1626.  
  1627.  
  1628.  
  1629.  
  1630.  
  1631.  
  1632.  
  1633.  
  1634.  
  1635.  
  1636.  
  1637.  
  1638.  
  1639.                                                                       163
  1640.  
  1641.  
  1642.  
  1643.  
  1644.  
  1645.  
  1646.  
  1647.  
  1648.  
  1649.  
  1650.  
  1651. -
  1652.  
  1653.  
  1654.  
  1655.  
  1656.  
  1657.  
  1658.  
  1659.  
  1660.                                                       FILES ON CALC DISKS
  1661.  
  1662.  
  1663.      ____________________________________________________________________
  1664.  
  1665.                            FILES ON THE CALC DISKS
  1666.  
  1667.      The following files are included on your CALC diskettes:
  1668.  
  1669.      1. CALC.EXE: The CALC startup program. It must be on the
  1670.         logged disk drive.
  1671.  
  1672.      2. CALC2.EXE, CALC3.EXE, etc.: Overlay programs used by
  1673.         CALC for functions such as printing, loading files, etc. They
  1674.         must be on the currently logged disk drive.
  1675.  
  1676.      3. CALC1.DOC, CALC2.DOC, etc.: The CALC User Guide in
  1677.         four disk files. This is an evaluation copy of the guide,
  1678.         provided so you can share the program with others. This file is
  1679.         not needed to run CALC.
  1680.  
  1681.      4. PRINTDOC.BAT: This batch file is used to print the
  1682.         evaluation copy of the User Guide. This file is not needed to
  1683.         run CALC.
  1684.  
  1685.      5. CALC.MSG: The message file for CALC. It must be on the
  1686.         currently logged disk drive, or CALC will not run.
  1687.  
  1688.      6. EXAMPLE: Sample interest computation spreadsheet. This same
  1689.         spreadsheet is described in the "Brief Tutorial" and in the
  1690.         section on the Replicate Command (/R).
  1691.  
  1692.      7. BW.PRO, 40.PRO, etc.: These are small profile files for running
  1693.         CALC on a black-and-white monitor, 40-column screen, etc.
  1694.         They are used in the "Getting Started" section.
  1695.  
  1696.      8. RESPONSE: This is also a CALC worksheet, and it contains
  1697.         a report similar to the User Response Form at the end of this
  1698.         manual. You can either remove the pages from the manual, or
  1699.         fill in the blanks on this spreadsheet and print it.
  1700.  
  1701.  
  1702.  
  1703.  
  1704.  
  1705.                                                                       164
  1706.  
  1707.  
  1708.  
  1709.  
  1710.  
  1711.  
  1712.  
  1713.  
  1714.  
  1715.  
  1716.  
  1717. -
  1718.  
  1719.  
  1720.  
  1721.  
  1722.  
  1723.  
  1724.  
  1725.  
  1726.                                                FREQUENTLY ASKED QUESTIONS
  1727.  
  1728.  
  1729.      ____________________________________________________________________
  1730.  
  1731.                                SOME FREQUENTLY
  1732.                                ASKED QUESTIONS
  1733.  
  1734.      Q: What is your update policy? 
  1735.      A: All registered Expressware users will be notified by mail
  1736.         when a new version of CALC becomes available. The cost of
  1737.         an update is usually $15 (to registered users).
  1738.  
  1739.      Q: Do you have any other programs you are distributing? 
  1740.      A: Yes. File Express, a powerful data base management program.
  1741.  
  1742.      Q: What else are you working on?
  1743.      A: A new graphics program, ExpressGraph, is almost completed, and
  1744.         work is proceeding on an advanced report writer called PC-Report.
  1745.         New versions of ExpressCalc and File Express are also in
  1746.         development. In the section titled "User Response Form" we list
  1747.         some future enhancements, and ask you to indicate which ones are
  1748.         the most desirable to you. By filling out and returning the form,
  1749.         you can help us decide which improvements should be made first.
  1750.  
  1751.      Q: In what language was CALC written?
  1752.      A: It was written in BASIC, then compiled with the Microsoft
  1753.         Business BASIC Compiler. It also has some assembler subroutines.
  1754.  
  1755.      Q: What computers does CALC run on?
  1756.      A: Based on our users' responses, we know that CALC runs on
  1757.         the following computers:
  1758.  
  1759.         IBM PC                COMPAQ Deskpro           TANDY 1000  
  1760.         IBM XT                COMPAQ Portable          TANDY 1200  
  1761.         IBM PCjr              CORONA                   TANDY 2000  
  1762.         IBM PC Portable       ITT Xtra                 TAVA        
  1763.         IBM AT                LEADING EDGE PC          ZENITH Z-150
  1764.         AT&T 6300             SANYO 555-2              ZENITH AT
  1765.         COLUMBIA 1600         SANYO MBC Series
  1766.        
  1767.         If you have tested CALC on another brand, please let us know,
  1768.         and we will add it to the list.
  1769.  
  1770.  
  1771.                                                                       165
  1772.  
  1773.  
  1774.  
  1775.  
  1776.  
  1777.  
  1778.  
  1779.  
  1780.  
  1781.  
  1782.  
  1783. -
  1784.  
  1785.  
  1786.  
  1787.  
  1788.  
  1789.  
  1790.  
  1791.  
  1792.                                                       DISTRIBUTION NOTICE
  1793.  
  1794.  
  1795.      ____________________________________________________________________
  1796.  
  1797.                              DISTRIBUTION NOTICE
  1798.  
  1799.  
  1800.      Expressware is distributing CALC as a "SHAREWARE" product.
  1801.      After trying the product, if you decide to use it, we trust you to
  1802.      purchase the registered set.
  1803.  
  1804.      You may obtain a production copy of CALC for $10 from your local
  1805.      software dealer or directly from Expressware. The $10 disk set
  1806.      contains a diskette with the complete CALC software, and a
  1807.      supplemental diskette with the complete documentation, ready to be
  1808.      printed on your own printer. The disk set also contains a $10 rebate
  1809.      coupon to be used toward the purchase of the CALC registered set.
  1810.  
  1811.      The complete CALC registered set is also available from software
  1812.      dealers throughout the U.S. and Canada, or may be purchased directly
  1813.      from Expressware. The registered set includes a commercially printed
  1814.      copy of the User Guide, two diskettes and a user registration form.
  1815.      Registered owners of CALC receive phone support on Expressware
  1816.      products, newsletters, product announcements, and update service.
  1817.  
  1818.      Whether or not you purchase a registered copy, you are still
  1819.      encouraged to copy CALC and share it with your friends, with the
  1820.      following restrictions:
  1821.  
  1822.      . No charge is to be made for copying or distributing CALC. User
  1823.        groups may make a small charge to cover the cost of disks and
  1824.        copying, so long as the charge does not exceed $12. User Group
  1825.        members must be notified of the Shareware concept and encouraged
  1826.        to support it.
  1827.  
  1828.      . CALC must be distributed as a complete set. No alterations may
  1829.        be made to the files on the diskettes.
  1830.  
  1831.      . The printed manual may not be copied or reproduced in any way.
  1832.  
  1833.      . Commercial sale of CALC in any manner is prohibited without
  1834.        Expressware's written permission.
  1835.  
  1836.  
  1837.                                                                       166
  1838.  
  1839.  
  1840.  
  1841.  
  1842.  
  1843.  
  1844.  
  1845.  
  1846.  
  1847.  
  1848.  
  1849. -
  1850.  
  1851.  
  1852.  
  1853.  
  1854.  
  1855.  
  1856.  
  1857.  
  1858.                                                        USER RESPONSE FORM
  1859.  
  1860.  
  1861.      ____________________________________________________________________
  1862.  
  1863.  
  1864.                               USER RESPONSE FORM
  1865.  
  1866.  
  1867.      We are always interested in knowing more about our users. This
  1868.      information helps us to channel our efforts in the directions you
  1869.      want. Please help us by completing the questionaire on the
  1870.      following page and mailing it to:
  1871.  
  1872.                                 Expressware
  1873.                                P. O. Box 230
  1874.                              Redmond, WA 98073
  1875.  
  1876.  
  1877.      If you do not want to remove these pages from your manual, and a
  1878.      copy machine is not readily available, there is a file on the
  1879.      CALC diskette called RESPONSE which is a copy of this form.
  1880.      The file is a CALC spreadsheet. Use the /Load command to load
  1881.      it into CALC, then enter the requested information in the
  1882.      appropriate cells. Use the /Print command to print the completed
  1883.      questionaire.
  1884.  
  1885.  
  1886.      If you filled out a questionaire for CALC Version 2.0, we would
  1887.      appreciate hearing from you again, especially regarding the
  1888.      features you would like to see in Version 4.0. However, if you have
  1889.      sent a questionaire before, please mark the box indicating such,
  1890.      and skip questions 2 through 5.
  1891.  
  1892.  
  1893.  
  1894.  
  1895.  
  1896.  
  1897.  
  1898.  
  1899.  
  1900.  
  1901.  
  1902.  
  1903.                                                                       167
  1904.  
  1905.  
  1906.  
  1907.  
  1908.  
  1909.  
  1910.  
  1911.  
  1912.  
  1913.  
  1914.  
  1915. -
  1916.  
  1917.  
  1918.  
  1919.  
  1920.  
  1921.  
  1922.  
  1923.  
  1924.                                                        USER RESPONSE FORM
  1925.  
  1926.  
  1927.      1. Have you sent a User Response Form in the past?  Yes:___ No:  ___
  1928.         If yes, please skip questions 2 through 5 below.
  1929.  
  1930.      2. Where did you hear about CALC?      _____________________________
  1931.  
  1932.      3. System being used to run CALC:
  1933.  
  1934.         a) Computer brand/model?  _______________________________________
  1935.  
  1936.         b) Amount of computer memory?    ________________________________
  1937.  
  1938.         c) Type of disk? ________________________________________________
  1939.  
  1940.         d) Monochrome or color display? _________________________________
  1941.  
  1942.         e) 40 or 80 column display? _____________________________________
  1943.  
  1944.         f) Printer brand/model? _________________________________________
  1945.  
  1946.      4. For what types of applications do you use CALC?
  1947.      
  1948.          ________________________________________________________________
  1949.      
  1950.      5. ____ Registered user                   ____ Non-registered user
  1951.  
  1952.         (If you are a non-registered user, we are interested in knowing
  1953.         why. Is the price too high? Is CALC missing features you need?)
  1954.  
  1955.      6. Version of CALC you use:      ____ 1.0    ____ 2.0    ____ 3.0
  1956.  
  1957.      7. Which database manager do you use?  _____________________________
  1958.  
  1959.      8. Which word processor do you use?  _______________________________
  1960.  
  1961.      9. Name and address (optional): ____________________________________
  1962.  
  1963.                                      ____________________________________
  1964.  
  1965.                                      ____________________________________
  1966.  
  1967.  
  1968.  
  1969.                                                                       168
  1970.  
  1971.  
  1972.  
  1973.  
  1974.  
  1975.  
  1976.  
  1977.  
  1978.  
  1979.  
  1980.  
  1981. -
  1982.  
  1983.  
  1984.  
  1985.  
  1986.  
  1987.  
  1988.  
  1989.  
  1990.                                                        USER RESPONSE FORM
  1991.  
  1992.  
  1993.      10.Here are some of the enhancements to CALC that are planned.
  1994.         Help us prioritize these enhancements. Put a "1" on each feature
  1995.         you would find useful. Put a "2" on any you feel are important,
  1996.         and a "3" on those you feel are absolutely essential.
  1997.  
  1998.         ___ Help screens.
  1999.         ___ Split screen or "window" command.
  2000.         ___ Faster calculation.
  2001.         ___ Faster screen display.
  2002.         ___ Faster load/save.
  2003.         ___ Faster Xternal access.
  2004.         ___ Larger spreadsheet matrix.
  2005.         ___ Spreadsheet on disk if memory fills (virtual memory).
  2006.         ___ Formulas larger than 74 characters.
  2007.         ___ Command files or macros.
  2008.         ___ Internal rate of return function.
  2009.         ___ Calendar/time functions and arithmetic.
  2010.         ___ Password security/encryption.
  2011.         ___ Natural or topological recalculation.
  2012.         ___ Graphics.
  2013.         ___ 8087 support.
  2014.         ___ Global search; search and replace.
  2015.         ___ Cell-finding with arrows when entering formulas.
  2016.         ___ Future value function.
  2017.         ___ Depreciation functions.
  2018.         ___ /Move command.
  2019.         ___ Underline, boldface formatting options.
  2020.         ___ Cell naming, Range naming.
  2021.         ___ Median and modal average.
  2022.         ___ Pathnames in file name references.
  2023.         ___ Word wrap.
  2024.         ___ Percentile ranking.
  2025.         ___ Undo command.
  2026.         ___ Calculator mode.
  2027.         ___ Sideways printing.
  2028.         ___ ____________________________________________
  2029.         ___ ____________________________________________
  2030.         ___ ____________________________________________
  2031.         ___ ____________________________________________
  2032.  
  2033.  
  2034.  
  2035.                                                                       169
  2036.  
  2037.  
  2038.  
  2039.  
  2040.  
  2041.  
  2042.  
  2043.  
  2044.  
  2045.  
  2046.  
  2047. -
  2048.  
  2049.  
  2050.  
  2051.  
  2052.  
  2053.  
  2054.  
  2055.  
  2056.                                                        USER RESPONSE FORM
  2057.  
  2058.  
  2059.      11.If you find a bug in CALC, an error in the documentation, or
  2060.         you just have a suggestion for doing it a better way, we would
  2061.         like to hear from you. Please write your comments here, or
  2062.         attach a separate sheet.
  2063.  
  2064.         ________________________________________________
  2065.  
  2066.         ________________________________________________
  2067.  
  2068.         ________________________________________________
  2069.  
  2070.         ________________________________________________
  2071.  
  2072.         ________________________________________________
  2073.  
  2074.         ________________________________________________
  2075.  
  2076.         ________________________________________________
  2077.  
  2078.         ________________________________________________
  2079.  
  2080.         ________________________________________________
  2081.  
  2082.         ________________________________________________
  2083.  
  2084.         ________________________________________________
  2085.  
  2086.         ________________________________________________
  2087.  
  2088.         ________________________________________________
  2089.  
  2090.         ________________________________________________
  2091.  
  2092.         ________________________________________________
  2093.  
  2094.         ________________________________________________
  2095.  
  2096.         ________________________________________________
  2097.  
  2098.  
  2099.  
  2100.  
  2101.                                                                       170
  2102.  
  2103.  
  2104.  
  2105.  
  2106.  
  2107.  
  2108.  
  2109.  
  2110.  
  2111.  
  2112.  
  2113. -
  2114.  
  2115.  
  2116.  
  2117.  
  2118.  
  2119.  
  2120.  
  2121.  
  2122.                                                                ORDER FORM
  2123.  
  2124.  
  2125.      ____________________________________________________________________
  2126.  
  2127.      Expressware
  2128.      P.O. Box 230                                
  2129.      Redmond WA 98073
  2130.                                              (Qty & Dealer discounts avl.)
  2131.                                                      PRICE     PRICE
  2132.           PRODUCT                           QTY      EACH     EXTENDED
  2133.  
  2134.      ExpressCalc Version 3.0
  2135.         Diskettes Only                      ___     $10.00    $_______
  2136.  
  2137.         Registered Set                      ___     $49.00    $_______
  2138.  
  2139.  
  2140.      File Express Version 3.0
  2141.         Diskettes Only                      ___     $10.00    $_______
  2142.  
  2143.         Registered Set                      ___     $40.00    $_______
  2144.  
  2145.      If shipping UPS COD, add $2.00                           $_______
  2146.  
  2147.      Washington residents add 8.1% sales tax                  $_______
  2148.  
  2149.  
  2150.                                                    TOTAL:     $_______
  2151.  
  2152.      Please make check (US funds only) payable to: Expressware
  2153.  
  2154.      MasterCard:____  Visa:____    Card Number:  __________________
  2155.  
  2156.      Expiration date: __________   Signature: ____________________
  2157.  
  2158.      Name:    ____________________________________________
  2159.  
  2160.      Address: ____________________________________________
  2161.  
  2162.      City: _________________________  State: ___  Zip:        ________
  2163.  
  2164.      Country: ________________     Phone Number:  _________________
  2165.  
  2166.  
  2167.                                                                       171
  2168.  
  2169.  
  2170.  
  2171.  
  2172.  
  2173.  
  2174.  
  2175.  
  2176.  
  2177.  
  2178.  
  2179. -
  2180.  
  2181.  
  2182.  
  2183.  
  2184.  
  2185.  
  2186.  
  2187.  
  2188.  
  2189.  
  2190.  
  2191.  
  2192.  
  2193.  
  2194.  
  2195.  
  2196.  
  2197.  
  2198.  
  2199.  
  2200.  
  2201.  
  2202.  
  2203.  
  2204.  
  2205.  
  2206.  
  2207.  
  2208.  
  2209.  
  2210.  
  2211.  
  2212.  
  2213.  
  2214.  
  2215.  
  2216.  
  2217.  
  2218.  
  2219.  
  2220.  
  2221.  
  2222.  
  2223.  
  2224.  
  2225.  
  2226.  
  2227.  
  2228.  
  2229.  
  2230.  
  2231.  
  2232.  
  2233.                                                                       172
  2234.  
  2235.  
  2236.  
  2237.  
  2238.  
  2239.  
  2240.  
  2241.  
  2242.  
  2243.  
  2244.  
  2245. -
  2246.  
  2247.  
  2248.  
  2249.  
  2250.  
  2251.  
  2252.  
  2253.  
  2254.                                                                     Index
  2255.  
  2256.  
  2257.      ____________________________________________________________________
  2258.  
  2259.      A
  2260.      ABS Function  25
  2261.      absolute value  25
  2262.      accumulate numbers  128
  2263.      add numbers  128
  2264.      adding a line  69
  2265.      addition  12
  2266.      Alphabetical reference  23
  2267.      ALT key  106
  2268.      amortization 
  2269.         PAYMENT  97
  2270.         PERIODS  99
  2271.         PRINCIPAL  101
  2272.         RATE  112
  2273.      AND operator  12
  2274.      angle
  2275.         arctangent  31
  2276.         cosine  42
  2277.         sine  125
  2278.         tangent  129
  2279.      arctangent function  31
  2280.      ARRANGE command  26
  2281.      array size  37
  2282.      arrows  16
  2283.      ascending sequence  26
  2284.      ASCII
  2285.         codes to printer  106
  2286.         file, reading  75
  2287.         sort  26
  2288.      asterisks, bar graph  55
  2289.      at sign  14
  2290.      ATN function  31
  2291.      automatic calculation  61
  2292.      automatic cursor  62
  2293.      AVERAGE function  32
  2294.  
  2295.  
  2296.  
  2297.  
  2298.  
  2299.                                                                       173
  2300.  
  2301.  
  2302.  
  2303.  
  2304.  
  2305.  
  2306.  
  2307.  
  2308.  
  2309.  
  2310.  
  2311. -
  2312.  
  2313.  
  2314.  
  2315.  
  2316.  
  2317.  
  2318.  
  2319.  
  2320.                                                                     Index
  2321.  
  2322.  
  2323.  
  2324.      B
  2325.      background colors  36, 149
  2326.      bad file  77
  2327.      bargraph  55, 58
  2328.      bargraph configuration  150
  2329.      base e  79
  2330.      BASIC routine  160
  2331.      black and white  140
  2332.      BLANK command  33
  2333.      blank screen  37
  2334.      blank zeros  62
  2335.      block of cells, blanking  33
  2336.      Boolean operator  12, 13
  2337.      border
  2338.         color  36
  2339.         option  60
  2340.         printing  104
  2341.      brackets  142
  2342.      bugs, reporting  170
  2343.  
  2344.  
  2345.      C
  2346.      calculation  60
  2347.         disabling  61
  2348.         sequence  60
  2349.      cell attributes  155
  2350.      cell
  2351.         block of  115
  2352.         contents  11
  2353.         cursor  6
  2354.         definition  6
  2355.      center-justification  53
  2356.      centering  53
  2357.      changing configuration  35, 139
  2358.      characters per inch
  2359.         39, 44, 106, 143, 149
  2360.      circular reference  61
  2361.      clear spreadsheet  138
  2362.      color 
  2363.  
  2364.  
  2365.                                                                       174
  2366.  
  2367.  
  2368.  
  2369.  
  2370.  
  2371.  
  2372.  
  2373.  
  2374.  
  2375.  
  2376.  
  2377. -
  2378.  
  2379.  
  2380.  
  2381.  
  2382.  
  2383.  
  2384.  
  2385.  
  2386.                                                                     Index
  2387.  
  2388.  
  2389.         configuring  36
  2390.         graphics board  3
  2391.         monitor  3, 4
  2392.         screen  140-142, 144-145
  2393.      column
  2394.         hidden  53
  2395.         inserting  69
  2396.         size  53
  2397.         width  46, 53, 78, 159
  2398.      column-wise calculation  60
  2399.      combine spreadsheets  76
  2400.      comma, terminating field  20
  2401.      Command Processor  22
  2402.      command 
  2403.         Arrange  26
  2404.         Blank  33
  2405.         Configure  35
  2406.         Delete  46
  2407.         Edit  48
  2408.         Format  52
  2409.         Global  60
  2410.         Insert  69
  2411.         Load  75
  2412.         Print  103
  2413.         Quit  109
  2414.         Replicate  114
  2415.         Save  120
  2416.         Title  130
  2417.         Xternal  132
  2418.         Zap  138
  2419.      commas in numbers 53
  2420.      compatible computers  165
  2421.      complement  12
  2422.      compressed print  44
  2423.      computer clubs  166
  2424.      computers, runs on  165
  2425.      conditional page  94
  2426.  
  2427.  
  2428.  
  2429.  
  2430.  
  2431.                                                                       175
  2432.  
  2433.  
  2434.  
  2435.  
  2436.  
  2437.  
  2438.  
  2439.  
  2440.  
  2441.  
  2442.  
  2443. -
  2444.  
  2445.  
  2446.  
  2447.  
  2448.  
  2449.  
  2450.  
  2451.  
  2452.                                                                     Index
  2453.  
  2454.  
  2455.      conditional testing  64
  2456.      CONFIGURE command  35
  2457.      configuring 139
  2458.         global defaults  56
  2459.         smart keys  37
  2460.         printer  38
  2461.         save  38
  2462.      conjunction  12
  2463.      consolidate  76
  2464.      Control keys  16
  2465.      copy cells  114
  2466.      copying PC-CALC  166
  2467.      correct formula  48
  2468.      correct text  48
  2469.      COS function  42
  2470.      cosine function  42
  2471.      COUNT function  43
  2472.      CPI function  44
  2473.      CPI  39, 44, 106, 143, 149
  2474.      Ctrl-C key  16
  2475.      cursor
  2476.         automatic  62
  2477.         color  36
  2478.         movement  16
  2479.         smart  62
  2480.      Customizing PC-CALC  139
  2481.  
  2482.  
  2483.      D
  2484.      Data Interchange  120
  2485.      database, reading  75, 132
  2486.      date and time  72
  2487.      decimal places  52
  2488.      defaults
  2489.         configuring  139
  2490.         numbers  12
  2491.  
  2492.  
  2493.  
  2494.  
  2495.  
  2496.  
  2497.                                                                       176
  2498.  
  2499.  
  2500.  
  2501.  
  2502.  
  2503.  
  2504.  
  2505.  
  2506.  
  2507.  
  2508.  
  2509. -
  2510.  
  2511.  
  2512.  
  2513.  
  2514.  
  2515.  
  2516.  
  2517.  
  2518.                                                                     Index
  2519.  
  2520.  
  2521.      degrees
  2522.         arctangent  31
  2523.         cosine  42
  2524.         sine  125
  2525.         tangent  129
  2526.      DELETE command  46
  2527.      delete
  2528.         column  46
  2529.         contents of cell  33
  2530.         file  46
  2531.         key  20
  2532.         line  20, 46
  2533.         row  46
  2534.         spreadsheet  46
  2535.      descending sequence  26
  2536.      descending sort  26
  2537.      deviation  127
  2538.      DIF file 
  2539.         reading  75
  2540.         saving  120
  2541.      directory display  75, 120
  2542.      discount rate  92
  2543.      disjunction  12
  2544.      disk
  2545.         load spreadsheet  75
  2546.         printed output  104
  2547.         save spreadsheet  120
  2548.      diskette drive  3
  2549.      diskette files  164
  2550.      display contents  48
  2551.      display directory  75, 120
  2552.      division  12
  2553.      dollar sign  53
  2554.      double spacing  104
  2555.      double-sided diskette  3
  2556.      down arrow  18
  2557.  
  2558.  
  2559.  
  2560.  
  2561.  
  2562.  
  2563.                                                                       177
  2564.  
  2565.  
  2566.  
  2567.  
  2568.  
  2569.  
  2570.  
  2571.  
  2572.  
  2573.  
  2574.  
  2575. -
  2576.  
  2577.  
  2578.  
  2579.  
  2580.  
  2581.  
  2582.  
  2583.  
  2584.                                                                     Index
  2585.  
  2586.  
  2587.      E
  2588.      e, natural logarithm  50, 79
  2589.      EDIT command  48
  2590.      end key  19
  2591.      end of spreadsheet  21
  2592.      end PC-CALC  109
  2593.      enhancements  161
  2594.      ENTER key  20
  2595.      entering text  146
  2596.      entry line  7
  2597.         color  36
  2598.      Epson printer  39, 105
  2599.      equal sign  21
  2600.      erase 
  2601.         cell  33
  2602.         column  46
  2603.         row  46
  2604.         spreadsheet  138
  2605.         to end of field  20
  2606.      ERROR  85, 86, 133
  2607.      ESC key  8, 19, 148
  2608.      Escape key  8, 19, 148
  2609.      exclamation point  21
  2610.      exit  109
  2611.      EXP function  50
  2612.      exponent  14, 53
  2613.      exponential form  14
  2614.      exponential function  50
  2615.      exponentiation  12, 13
  2616.      external references  132
  2617.  
  2618.  
  2619.      F
  2620.      features, new  161
  2621.      FICA example  67
  2622.  
  2623.  
  2624.  
  2625.  
  2626.  
  2627.  
  2628.  
  2629.                                                                       178
  2630.  
  2631.  
  2632.  
  2633.  
  2634.  
  2635.  
  2636.  
  2637.  
  2638.  
  2639.  
  2640.  
  2641. -
  2642.  
  2643.  
  2644.  
  2645.  
  2646.  
  2647.  
  2648.  
  2649.  
  2650.                                                                     Index
  2651.  
  2652.  
  2653.      file
  2654.         format  154
  2655.         loading  75
  2656.         names  75, 120, 164
  2657.         PC-CALC  75, 120
  2658.         saving  120
  2659.      File Express database  171
  2660.         reading  75, 133
  2661.      files on disk  164
  2662.      FIX function  51
  2663.      flickering screen  40
  2664.      floating dollar sign  53
  2665.      foreground colors  36
  2666.      form advance  94
  2667.      form feed  94
  2668.      FORMAT command  52
  2669.      format
  2670.         bar graph  55
  2671.         commas in numbers  53
  2672.         decimals  52
  2673.         dollar sign  53
  2674.         global default  57
  2675.         global settings  56
  2676.         justify  53
  2677.         memory usage  56
  2678.         percent sign  54
  2679.      format, file  154
  2680.      formula  61
  2681.         entering  7, 12
  2682.      forward reference  61
  2683.      freeing memory, Blank  33
  2684.      frequent questions  165
  2685.      function keys  38
  2686.  
  2687.  
  2688.  
  2689.  
  2690.  
  2691.  
  2692.  
  2693.  
  2694.  
  2695.                                                                       179
  2696.  
  2697.  
  2698.  
  2699.  
  2700.  
  2701.  
  2702.  
  2703.  
  2704.  
  2705.  
  2706.  
  2707. -
  2708.  
  2709.  
  2710.  
  2711.  
  2712.  
  2713.  
  2714.  
  2715.  
  2716.                                                                     Index
  2717.  
  2718.  
  2719.      function
  2720.         absolute value  25
  2721.         arctangent  31
  2722.         average  32
  2723.         cosine  42
  2724.         COUNT  43
  2725.         CPI  44
  2726.         exponential  50
  2727.         fixed  51
  2728.         INT  71
  2729.         integer  51, 71
  2730.         KEYWORD  72
  2731.         LOG  79
  2732.         LOOKUP  80
  2733.         LPI  84
  2734.         MAX  85
  2735.         maximum number  85
  2736.         MIN  86
  2737.         minimum number  86
  2738.         net present value  92
  2739.         NOLF  87
  2740.         NOPRINT  89
  2741.         NPV  92
  2742.         PAGE  94
  2743.         PAYMENT  97
  2744.         PERIODS  99
  2745.         PRINCIPAL  101
  2746.         RANDOM  110
  2747.         RATE  112
  2748.         sign  124
  2749.         sine  125
  2750.         square root  126
  2751.         STDEV  127
  2752.         SUM  128
  2753.         table lookup  80
  2754.         tangent  129
  2755.         trigonometric  31, 42, 125
  2756.      future enhancements  169
  2757.  
  2758.  
  2759.  
  2760.  
  2761.                                                                       180
  2762.  
  2763.  
  2764.  
  2765.  
  2766.  
  2767.  
  2768.  
  2769.  
  2770.  
  2771.  
  2772.  
  2773. -
  2774.  
  2775.  
  2776.  
  2777.  
  2778.  
  2779.  
  2780.  
  2781.  
  2782.                                                                     Index
  2783.  
  2784.  
  2785.      G
  2786.      getting started  4
  2787.      GLOBAL command  22, 60
  2788.      global
  2789.         defaults  60
  2790.         formula  61, 62
  2791.         options  60
  2792.         settings  60
  2793.      go to coordinate  21
  2794.      graph, bar  55, 150
  2795.  
  2796.  
  2797.      H
  2798.      hard copy  103
  2799.      HDR files  75
  2800.      header record  154
  2801.      height of screen  40
  2802.      hidden cells  53
  2803.      hidden column  2
  2804.      hide cells  53
  2805.      high-speed mode  18
  2806.      home key  19
  2807.      horizontal titles  130
  2808.  
  2809.  
  2810.      I
  2811.      IF command  64
  2812.      import database  75
  2813.      insert characters  20
  2814.      INSERT command  20, 69
  2815.      insert key  20, 142
  2816.      insert line  20, 64
  2817.      installing PC-CALC  4
  2818.      INT function  71
  2819.      integer function  71
  2820.      interest rate  112
  2821.      interest, computing  8
  2822.      invoice example  82, 89
  2823.      iterations  144, 150
  2824.      iterative calculation  150
  2825.  
  2826.  
  2827.                                                                       181
  2828.  
  2829.  
  2830.  
  2831.  
  2832.  
  2833.  
  2834.  
  2835.  
  2836.  
  2837.  
  2838.  
  2839. -
  2840.  
  2841.  
  2842.  
  2843.  
  2844.  
  2845.  
  2846.  
  2847.  
  2848.                                                                     Index
  2849.  
  2850.  
  2851.      J
  2852.      jump to
  2853.         cell  17, 21
  2854.         end of spreadsheet  19
  2855.         top of spreadsheet  19
  2856.      justification, default  53
  2857.      justify  53
  2858.  
  2859.  
  2860.      K
  2861.      keyboard
  2862.         configuring  37, 142, 147
  2863.         conventions  16
  2864.         input  22
  2865.         macros  37
  2866.      KEYIN  148
  2867.      keys
  2868.         alternate  16
  2869.         cell cursor  16
  2870.         entry line  16
  2871.      keystrokes  22
  2872.      KEYWORD function  72
  2873.  
  2874.  
  2875.      L
  2876.      language  165
  2877.      largest number  85
  2878.      learning  6
  2879.      leave PC-CALC  109
  2880.      left margin, print  104
  2881.      left-justify  53
  2882.      line spacing  84, 143
  2883.      lines per inch  84, 143
  2884.      LOAD command  75
  2885.      loading a file  75
  2886.  
  2887.  
  2888.  
  2889.  
  2890.  
  2891.  
  2892.  
  2893.                                                                       182
  2894.  
  2895.  
  2896.  
  2897.  
  2898.  
  2899.  
  2900.  
  2901.  
  2902.  
  2903.  
  2904.  
  2905. -
  2906.  
  2907.  
  2908.  
  2909.  
  2910.  
  2911.  
  2912.  
  2913.  
  2914.                                                                     Index
  2915.  
  2916.  
  2917.      loan 
  2918.         amount, principal  101
  2919.         payment  97
  2920.         periods  99
  2921.         principal  101
  2922.         term  99
  2923.      lock/protect cells  54
  2924.      locking titles  130
  2925.      LOG function  79
  2926.      logarithm  79
  2927.      logged disk drive  75, 120
  2928.      logical function  64
  2929.      logical operator  12
  2930.      longer spreadsheet  37
  2931.      LOOKUP function  80
  2932.      LPI function  84
  2933.      LPI  84, 143
  2934.  
  2935.  
  2936.      M
  2937.      macros, smart key  37
  2938.      mail-merge file  75, 120
  2939.      major enhancements  161
  2940.      mantissa  14, 53
  2941.      manual calculation  61
  2942.      mathematical number e  50, 79
  2943.      matrix, configuring  37
  2944.      MAX function  85
  2945.      maximum columns  37
  2946.      maximum value  85
  2947.      maximums  11
  2948.      mean average  32
  2949.      memory 
  2950.         available  11
  2951.         clearing  138
  2952.         format  56
  2953.         required  3
  2954.      message line  8
  2955.         color  36
  2956.  
  2957.  
  2958.  
  2959.                                                                       183
  2960.  
  2961.  
  2962.  
  2963.  
  2964.  
  2965.  
  2966.  
  2967.  
  2968.  
  2969.  
  2970.  
  2971. -
  2972.  
  2973.  
  2974.  
  2975.  
  2976.  
  2977.  
  2978.  
  2979.  
  2980.                                                                     Index
  2981.  
  2982.  
  2983.      Microsoft BASIC  151, 165
  2984.      military time  73
  2985.      MIN function  86
  2986.      minimum configuration  3
  2987.      minimum value  86
  2988.      mismatched parentheses  14
  2989.      modify cell contents  48
  2990.      modulo  13
  2991.      monitor 
  2992.         color  3
  2993.         monochrome  3, 4
  2994.      MSDOS  3
  2995.      multiple copies  166
  2996.      multiple databases  135
  2997.      multiplication  12
  2998.  
  2999.  
  3000.      N
  3001.      natural logarithm  79
  3002.      negative numbers  54, 124
  3003.      nested IF  64
  3004.      net present value  92
  3005.      new line  69
  3006.      new spreadsheet  138
  3007.      no line feed  87
  3008.      NOLF function  87
  3009.      non-destructive cursor  19
  3010.      non-IBM computers  4, 165
  3011.      non-print zeros  62
  3012.      NOPRINT function  89
  3013.      NOT operator  13
  3014.      NPV function  92
  3015.      numbers, entering  8
  3016.  
  3017.  
  3018.      O
  3019.      offset  103
  3020.      old cursor  145
  3021.      on exit run  144
  3022.      operating system  3
  3023.  
  3024.  
  3025.                                                                       184
  3026.  
  3027.  
  3028.  
  3029.  
  3030.  
  3031.  
  3032.  
  3033.  
  3034.  
  3035.  
  3036.  
  3037. -
  3038.  
  3039.  
  3040.  
  3041.  
  3042.  
  3043.  
  3044.  
  3045.  
  3046.                                                                     Index
  3047.  
  3048.  
  3049.      operators 
  3050.         arithmetic  12
  3051.         two in a row  14
  3052.      optimize memory  150
  3053.      optional fields  159
  3054.      OR operator  13
  3055.      order form  171
  3056.      ordering software  171
  3057.      output to disk  120
  3058.      overprinting  87
  3059.  
  3060.  
  3061.      P
  3062.      page down key  19
  3063.      PAGE function  94
  3064.      page length  103
  3065.      page number  72
  3066.      page offset  103
  3067.      page up key  19
  3068.      page width  103
  3069.      parentheses 
  3070.         in formulas  14
  3071.         mismatched  14
  3072.         nested  14
  3073.         on negative numbers  54
  3074.      PAYMENT function  97
  3075.      PC-File database  75, 133
  3076.      PCDOS  3
  3077.      percent sign  13, 54
  3078.      percentage operator  13
  3079.      PERIODS function  99
  3080.      permanent configuration  39
  3081.      permission to copy  166
  3082.      pg dn key  16
  3083.      pg up key  16
  3084.      policy, updates  165
  3085.      positive number  25
  3086.  
  3087.  
  3088.  
  3089.  
  3090.  
  3091.                                                                       185
  3092.  
  3093.  
  3094.  
  3095.  
  3096.  
  3097.  
  3098.  
  3099.  
  3100.  
  3101.  
  3102.  
  3103. -
  3104.  
  3105.  
  3106.  
  3107.  
  3108.  
  3109.  
  3110.  
  3111.  
  3112.                                                                     Index
  3113.  
  3114.  
  3115.      precedence 
  3116.         arithmetic  13
  3117.         math  13
  3118.         overriding  13
  3119.         sort  27
  3120.      precision, decimals  52
  3121.      present value  92
  3122.      prices, software  171
  3123.      PRINCIPAL function  101
  3124.      PRINT command  103
  3125.      print 
  3126.         double spacing  103
  3127.         left margin  103
  3128.         offset  103
  3129.         setup  104
  3130.         to disk  104
  3131.         wide reports  104
  3132.      printed output  103
  3133.      printer 
  3134.         configuring  39, 106, 143
  3135.         fonts  44
  3136.         spacing  84
  3137.      printing border  103
  3138.      printing spreadsheet  103
  3139.      profile commands  139
  3140.      profile files  139
  3141.      programming language  165
  3142.      protect cells  54
  3143.  
  3144.  
  3145.      Q
  3146.      question & answer  165
  3147.      QUIT command  109
  3148.      quote on text  146
  3149.  
  3150.  
  3151.  
  3152.  
  3153.  
  3154.  
  3155.  
  3156.  
  3157.                                                                       186
  3158.  
  3159.  
  3160.  
  3161.  
  3162.  
  3163.  
  3164.  
  3165.  
  3166.  
  3167.  
  3168.  
  3169. -
  3170.  
  3171.  
  3172.  
  3173.  
  3174.  
  3175.  
  3176.  
  3177.  
  3178.                                                                     Index
  3179.  
  3180.  
  3181.      R
  3182.      radians
  3183.         arctangent  31
  3184.         cosine  42
  3185.         sine  125
  3186.         tangent  129
  3187.      RANDOM function  110
  3188.      random number  110
  3189.      RATE function  112
  3190.      rate, interest  112
  3191.      read database  132
  3192.      rearranging screen  35
  3193.      recalculation 
  3194.         automatic  61
  3195.         manual  61
  3196.      reconfiguring PC-CALC  35
  3197.      reference, alphabetic  23
  3198.      relational operator  13, 64
  3199.      remainder  12
  3200.      remove column  46
  3201.      remove data from cell  33
  3202.      remove row  46
  3203.      remove sign  25
  3204.      REPLICATE command  114
  3205.      report to disk  104
  3206.      report, printed  103
  3207.      reporting bugs  167
  3208.      requirements  3
  3209.      resequencing  26
  3210.      reset defaults  138
  3211.      response form  167
  3212.      RETURN key  18
  3213.      return to DOS  109
  3214.      retype  48
  3215.      right-justify  53
  3216.      root, square  126
  3217.      ROUND function  119
  3218.      rounding numbers  119
  3219.  
  3220.  
  3221.  
  3222.  
  3223.                                                                       187
  3224.  
  3225.  
  3226.  
  3227.  
  3228.  
  3229.  
  3230.  
  3231.  
  3232.  
  3233.  
  3234.  
  3235. -
  3236.  
  3237.  
  3238.  
  3239.  
  3240.  
  3241.  
  3242.  
  3243.  
  3244.                                                                     Index
  3245.  
  3246.  
  3247.      row
  3248.         inserting  69
  3249.         sort  29
  3250.      row-wise calculation  60
  3251.  
  3252.  
  3253.      S
  3254.      Sample BASIC routine  160
  3255.      SAVE command  10, 120
  3256.      save configuration  39
  3257.      saving a file  120
  3258.      scientific notation  12, 52
  3259.      screen colors  142, 149
  3260.      screen configuration  142, 144
  3261.      screen
  3262.         blank  40
  3263.         flicker  40
  3264.         height  35, 40
  3265.         layout  36
  3266.         width  35
  3267.      scrolling screen  18
  3268.      secondary key  26
  3269.      secondary sort  28
  3270.      sequencing  26
  3271.      setting decimals  52
  3272.      setting colors  36
  3273.      setup, printer  39, 105
  3274.      SGN function  124
  3275.      sign function  25
  3276.      SIN function  125
  3277.      sine function  125
  3278.      skip print line  89
  3279.      skip to new page  94
  3280.      slash character  22
  3281.      slow calculation  61
  3282.      slow screen  40
  3283.      smallest number  86
  3284.      smart cursor  62, 145
  3285.      smart keys  37
  3286.  
  3287.  
  3288.  
  3289.                                                                       188
  3290.  
  3291.  
  3292.  
  3293.  
  3294.  
  3295.  
  3296.  
  3297.  
  3298.  
  3299.  
  3300.  
  3301. -
  3302.  
  3303.  
  3304.  
  3305.  
  3306.  
  3307.  
  3308.  
  3309.  
  3310.                                                                     Index
  3311.  
  3312.  
  3313.      sort 26
  3314.         configuring  144, 151
  3315.         precedence  27
  3316.         sequence  152
  3317.      spreadsheet
  3318.         loading  75
  3319.         saving  120
  3320.      SQR function  126
  3321.      square root  126
  3322.      standard deviation  127
  3323.      STDEV function  127
  3324.      stream of flows  92
  3325.      subtraction  12
  3326.      SUM function  9, 128
  3327.      suppress line feed  87
  3328.      suppres print line  89
  3329.      system options  60
  3330.      system requirements  3
  3331.  
  3332.  
  3333.      T
  3334.      table lookup  80
  3335.      TAN function  129
  3336.      tangent function  129
  3337.      tax table lookup  81
  3338.      term of loan  99
  3339.      test scores  68
  3340.      text 
  3341.         entering  7, 8
  3342.         overlapping  7
  3343.      time and date  72
  3344.      TITLE command  130
  3345.      title locking  130
  3346.      toggle border on/off  60
  3347.      toggling insert  20
  3348.      Toshiba printer  39
  3349.      total numbers  128
  3350.      trailing percent sign  54
  3351.      translate  147
  3352.  
  3353.  
  3354.  
  3355.                                                                       189
  3356.  
  3357.  
  3358.  
  3359.  
  3360.  
  3361.  
  3362.  
  3363.  
  3364.  
  3365.  
  3366.  
  3367. -
  3368.  
  3369.  
  3370.  
  3371.  
  3372.  
  3373.  
  3374.  
  3375.  
  3376.                                                                     Index
  3377.  
  3378.  
  3379.      trigonometric function 
  3380.         arctangent  31
  3381.         cosine  42
  3382.         sine  125
  3383.      true integer  71
  3384.      tutorial  6
  3385.  
  3386.  
  3387.      U
  3388.      unlock/unprotect  54
  3389.      unprotect cells  54
  3390.      up arrow  18
  3391.      update policy  165
  3392.      user response  167
  3393.  
  3394.  
  3395.      V
  3396.      valid file names  76, 121
  3397.      value, entering  8
  3398.      version numbers  161
  3399.      vertical titles  130
  3400.      video RAM  40
  3401.  
  3402.  
  3403.      W
  3404.      what if  9
  3405.      whole number  71
  3406.      wider spreadsheet  37
  3407.      width, column  53
  3408.      WS files  75, 120
  3409.  
  3410.  
  3411.      X
  3412.      XTERNAL command  132
  3413.  
  3414.  
  3415.      Z
  3416.      ZAP command  8, 138
  3417.      zero-blank  56, 62
  3418.      zeros as spaces  56
  3419.  
  3420.  
  3421.                                                                       190
  3422.