home *** CD-ROM | disk | FTP | other *** search
/ High Voltage Shareware / high1.zip / high1 / DIR8 / 123EXP.ZIP / README < prev    next >
Text File  |  1994-01-07  |  3KB  |  57 lines

  1.     Samples of reading and writing to a 1-2-3 spreadheet file.
  2.     ──────────────────────────────────────────────────────────
  3.  
  4.     These Clarion 2.1 source files illustrate some methods I have used to
  5.     read from and write to a Lotus 1-2-3 spreadsheet file (.WKS and .WK1
  6.     versions).  Please note that I have not spent much time documenting
  7.     these modules or the methods I used but I hope that you find them
  8.     helpful.
  9.  
  10.         EXPRTWK1.CLA    - This creates a 1-2-3 spreadsheet file and writes
  11.                             "records" to it from a Clarion data file.
  12.         IMPRTWK1.CLA    - Reads a 1-2-3 spreadsheet and creates Clarion data
  13.                             file records from the info in the spreadsheet.
  14.         IMP_ROW.CLA     - Prompts for a spreadsheet filename and loads ONE
  15.                             contiguous row (or column) of numbers from the
  16.                             spreadsheet.  It presents the data it finds for
  17.                             previewing and allows the user to keep it or
  18.                             continue looking elsewhere in the spreadsheet.
  19.         WYSIFILE.CLA    - This generalized function procedure contains common
  20.                             functions needed to create a WYSIWYG .FMT format
  21.                             file.
  22.  
  23.         WKS_FILE.INC    - This INCLUDE file contains the 1-2-3 file and record
  24.                             definitions and various variables used to read and
  25.                             write a 1-2-3 spreadsheet.
  26.         WYSIFILE.INC    - This INCLUDE defines the WYSIWYG file layout and
  27.                             variables used in the WYSIFILE.CLA procedure.
  28.         WYSIWYG.INC     - This defines the op codes and formatting information
  29.                             codes passed to the WYSIFILE procedure. To try
  30.                             to simplify the code needed to produce a WYSIWYG
  31.                             file, I came up with these generalized op codes and
  32.                             format definition variables. The WYSIFILE procedure
  33.                             converts these to the values that 1-2-3 expects
  34.                             to find in a .FMT file.
  35.  
  36.     Please note that creating a WYSIWYG formatting file (.FMT) used by 1-2-3
  37.     Release 2.3 and 2.4 is tricky. You almost have to have a copy of the file
  38.     format documentation provided by Lotus Development in order to understand
  39.     how this is done.
  40.  
  41.     I you have questions that I might be able to help you with, please don't
  42.     hesitate to post a message to me on CompuServe (71700,1036).
  43.  
  44.     Good Luck!
  45.  
  46.     - Dick
  47.  
  48.  
  49.     ╔══════════════════════════════════════════════════════════════════════╗
  50.     ║ Dick DeVillers                                              01/07/94 ║
  51.     ║ Arthur Consulting Group, Inc.                                        ║
  52.     ║ 21110 Oxnard Street                                                  ║
  53.     ║ Woodland Hills, California  91367                                    ║
  54.     ║ (818) 702-8003                                                       ║
  55.     ║ CIS: 71700,1036                                                      ║
  56.     ╚══════════════════════════════════════════════════════════════════════╝
  57.