home *** CD-ROM | disk | FTP | other *** search
/ Colossal Cookbook / ColossalCookbook.cdr / cc / cc_to_qb / cc_to_qb.doc < prev   
Text File  |  1991-03-14  |  4KB  |  119 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21.                                CC-TO-QB.BAS
  22.  
  23.                                Version 1.2
  24.  
  25.                                     by
  26.  
  27.                             John P. Nicholson
  28.                             1109 Mc Kinley Ave
  29.                        Alamogordo, New Mexico 88310
  30.  
  31.                              FidoNet 1:308/10
  32.                           (505) - 437-2280 - HST
  33.  
  34.     DISCLAIMER
  35.  
  36.           This basic program is here-by placed into the Public  Domain 
  37.     and  can  be  freely distributed, copied,  modified,  compiled  or 
  38.     deleted.    The author makes no warranties that this program  will 
  39.     or will not work on your system.  Use at your own risk.
  40.  
  41.     COPYRIGHT CREDITS
  42.  
  43.             Compu Chef  (C)                   Quikbook (C)
  44.  
  45.        Micro System Design, Inc.            Robert J. Butler
  46.                  and                    7432 Sheridan Ave. South
  47.               HillStepper               Richfield, Minnesota 55423
  48.                   by               
  49.     Peter Sciacchetano and Mark Bacas
  50.              HillStepper
  51.             P.O. Box 774
  52.          Harvey, LA 70059
  53.  
  54.     
  55.     PROGRAM INTENT
  56.  
  57.           The program CC-TO-QB.BAS is a conversion utility that can be 
  58.     used  with  the program FOOD20.BAS.  The conversion  program  will 
  59.     take  the file COMPCHEF that is produced by FOOD20.BAS and use  it 
  60.     as input for CC-TO-QB.BAS and convert the COMPUCHEF  Recipe files, 
  61.     to QuikBook format.  The converted file will  have the  name CC-
  62.     QBOUT.  The file CC-QBOUT may then be used  as  input for the 
  63.     QuikBook Recipe program.
  64.  
  65.     PROGRAM FEATURES
  66.  
  67.           CC-TO-QB  requires either BASIC.EXE or BASICA.COM  in  order 
  68.     for the program to function.  To operate, execute Basica or  Basic 
  69.     with  the commands: BASIC/F:2 or BASICA/F:2 depending  upon  which 
  70.     basic you have.  Load the CC-TO-QB program and type RUN enter. The 
  71.     conversion  program looks for the file COMPCHEF that contains  the 
  72.     recipes to be converted & creates an output file called  CC-QBOUT.  
  73.  
  74.               The    first   line  of  the  input   file   that   says  
  75.     **************  will be converted to -Begin Recipe  Export-.   The 
  76.     second  line of the input  file  which  is the name of the  recipe 
  77.     or   Title:   will   be converted   to   QuikBook   format.    The  
  78.     fifth   line   of   input Categories:   will   be   converted   to  
  79.     Keywords:    for   QuikBook compatibility and the remaining  lines 
  80.     of  the  recipe will be copied word for word to  the  output  file 
  81.     until the program encounters  the line that indicates the end of a 
  82.     CompuChef  recipe.   This line will be converted  to  -End  Recipe 
  83.     Export-.
  84.  
  85.  
  86.     PROGRAM NOTES
  87.  
  88.           This program is designed to replace the CompuChef Categories 
  89.     line:  Categories: Fish            Seafood         Cajun
  90.     with
  91.     Keywords: Fish, Seafood, Cajun
  92.  
  93.           The  earlier versions of CompuChef padded spaces  after  the 
  94.     last  category  was  entered.  Since this program has  no  way  of 
  95.     knowing  what version of CompuChef was originally used  to  export 
  96.     these recipes, you will find that some of the Keywords conversions 
  97.     will  have  a  comma after the last  category.   Using  the  above 
  98.     example, if it had only two categories, it might be converted  to: 
  99.     Keywords: Fish, Seafood, - then you will need to edit the file CC-
  100.     QBOUT  and correct the problem.  This will not be a huge  problem, 
  101.     because most of us will want to change the Keywords to our  recipe 
  102.     filing  system  anyway.  Another shortcoming  of  this  conversion 
  103.     program is Categories entered as two words like:
  104.  
  105.           Categories: Red Sauce       Red Gravy
  106.  
  107.           This would convert to Keywords: Red, Red,. Since the program 
  108.     keys on spaces and carriage returns there will be some  categories 
  109.     that will not convert properly.  These will be in the minority.
  110.  
  111.           I hope you enjoy using this program as much as I enjoyed the 
  112.     challenge  of writing it.  Watch for other conversion programs as 
  113.     time  permits.   The author can be reached  via  FidoNet 1:308/10 
  114.     Netmail  or by calling Fast-Kode BBS on (505) 437-2280 or call  my 
  115.     residence on voice (your nickel - no collect calls) on (505)  437-
  116.     4308.
  117.  
  118.  
  119.