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

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