home *** CD-ROM | disk | FTP | other *** search
/ Between Heaven & Hell 2 / BetweenHeavenHell.cdr / 500 / 446 / difrw.doc < prev    next >
Text File  |  1985-08-12  |  3KB  |  67 lines

  1. DIF Read / Write
  2.  
  3. The DIFRW program is able to convert DIF files to AnalytiCalc
  4. (PortaCalc) save files, or to convert AnalytiCalc save files
  5. to DIF files. Conventionally, AnalytiCalc save files are named
  6. file.PCC and DIF files are named file.DIF. The program's
  7. prompts use this convention.
  8.     To run the program, just RUN DIFRW on VAX or PDP11;
  9. on PC, just type DIFRW.
  10.     The progam asks whether you want to Read DIF files
  11. to PCC files or Write DIF files from PCC files. Reply R
  12. or W to select one.
  13.     The program then asks for the DIF filename and the
  14. PCC (AnalytiCalc) filename to use. Enter each in response to
  15. the prompt.
  16.     If you said you wanted to Write DIF files, the program
  17. asks whether to emit Values or Formulas. DIF is less general than
  18. the normal AnalytiCalc save output, and the program can either
  19. select the numerical value of each cell for the DIF file (useful
  20. for graphing programs and the like) or the cell formula (useful
  21. for moving to other spreadsheet type programs or for archival
  22. purposes). Select F or V. In a sense, the formula save is more
  23. general since it can be made again into a spreadsheet and once
  24. computable cells are made numeric again, the values can be
  25. recalculated. However, both are available. Use whichever you
  26. need.
  27.     If you said you wanted to Read DIF files (and write a
  28. file for AnalytiCalc), the DIF format does not preserve the
  29. formatting information for cells. The program therefore asks
  30. for a default format to use. This can be any 9 characters of
  31. Fortran format you like. Use the F9.2 format (i.e., reply
  32. "F9.2", without the quotes) if you are uncertain of what to
  33. use. This format will be placed in each cell of the AnalytiCalc
  34. saved sheet.
  35.     Some processing done by AnalytiCalc to flag numeric-only
  36. cells is not done here, so spreadsheets loaded by this utility
  37. will compute more slowly than native AnalytiCalc ones will. Dummy
  38. EDits in AnalytiCalc to any cells that are pure numeric will
  39. reset the flags so that speedups can be realized.
  40.     It should be further noted that the DIF format is rather
  41. inefficient in that it assumes that the area to be saved is a
  42. complete rectangular region. DIFRW will fill in any cells that
  43. are not really there with the NA numeric code, and on loading
  44. back to an AnalytiCalc file, will discard all NA cells. The
  45. result is that DIF saved sheets can be considerably larger than
  46. AnalytiCalc saved files.
  47.     All cells are treated equally here and the resulting DIF
  48. files contain either number values or string values. This limitation
  49. of DIF format is the reason why you must be asked whether you want
  50. formulas or values from your AnalytiCalc saved sheet. The two cannot
  51. be piggybacked.
  52.     Nevertheless, this utility provides a fairly easy to use
  53. way of converting AnalytiCalc data for other programs, or of
  54. getting data from other utilities in a form that AnalytiCalc
  55. can load.
  56.     One final note:
  57.     AnalytiCalc V18-04F is the first version of AnalytiCalc
  58. that will work with this utility in converting AnalytiCalc
  59. files to DIF files. If you have old .PCC files, reload them
  60. and save them with the new AnalytiCalc to get this to work.
  61. The cells used to be saved down columns first; now they are
  62. saved across rows first. This has no effect on AnalytiCalc
  63. since each record has its address, but makes conversion to DIF
  64. of the old files quite difficult, since DIF files are specified
  65. to be saved across rows.
  66.         Glenn Everhart 8/9/85
  67.