home *** CD-ROM | disk | FTP | other *** search
/ C!T ROM 2 / ctrom_ii_b.zip / ctrom_ii_b / PROGRAM / PASCAL / PASTUT34 / FILECONV.TXT < prev    next >
Text File  |  1993-01-23  |  3KB  |  73 lines

  1.            CHANGING FILES BETWEEN SOFTWARE PACKAGES. 
  2.            ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  3.  
  4.  Files created by proprietary software generally have many control codes 
  5.  embedded within the text and these codes will not be meaningful to other 
  6.  software.  It is also possible that the text is not in the normal ASCII 
  7.  format.  Fortunately, most packages have a method for converting the 
  8.  structured file format to an ASCII format.  If not, the user can write his 
  9.  own program, in say Turbo Pascal, to read the original file and then strip 
  10.  out unwanted control codes, etc.  An example can be found on the examples 
  11.  diskette as \MISC\TEXTCONV.PAS which will take Lotus document files and 
  12.  convert them to pure ASCII text files. 
  13.  
  14.  The procedures for converting structured files to ASCII text files for a
  15.  number of software packages is briefly described below: 
  16.  
  17.  LOTUS SYMPHONY DOCUMENT FILE. 
  18.  
  19.       Press the function key F9 for Services. 
  20.       Select Print. 
  21.       Select Settings. 
  22.       Select Destination.
  23.       Select File. 
  24.       Enter <Filename>.  { Choose a suitable name, with .TXT extension } 
  25.       Select Quit. 
  26.       Select Go. 
  27.  
  28.  The file (.TXT) can now be read into a suitable word processor, such as 
  29.  Microsoft Windows Write, or an editor, such as the Turbo Pascal Integrated 
  30.  Development Environment.  In the new software package it may be necessary to 
  31.  indicate that 'conversion' is required to create the structure of the new 
  32.  package, as with Windows Write, which provides the necessary dialogue box. 
  33.  
  34.  MICROSOFT WINDOWS WRITE DOCUMENT. 
  35.  
  36.  Text files can be read in using the following procedure: 
  37.  
  38.       Type WIN and press ENTER. 
  39.       Double click left mouse button on WRITE.EXE 
  40.       Use mouse to click on FILE then OPEN. 
  41.       Enter filename, such as C:\LOTUS\DOC\FILES.TXT 
  42.       Click left mouse button on CONVERT to change the text file to .WRI 
  43.  
  44.  Write format files can be exported by the following method: 
  45.  
  46.       Use mouse to click on FILE and then on SAVE AS. 
  47.       Change dialogue box values to * TEXT ONLY 
  48.       Click on OK 
  49.  
  50.  
  51.  DBASE RECORD FILES (.DBF) 
  52.  
  53.  DBase files can be exported as follows: 
  54.  
  55.       Type DBASE 
  56.       Respond to . prompt with USE <filename> e.g.  USE ADDRESS 
  57.       Respond to . prompt with LIST to check file. 
  58.       Then enter . COPY TO ADDR.TXT SDF DELIMITED WITH , 
  59.       or similar. 
  60.       Then enter . QUIT to leave DBase 
  61.  
  62.       In DOS enter TYPE ADDR.TXT to check the file. 
  63.  
  64.  MICROSOFT WORD DOCUMENTS 
  65.  
  66.  Word also features ASCII file input and output. 
  67.  
  68.  
  69.  
  70.  FILECONV.TXT
  71.  7.11.91 
  72.   
  73.