home *** CD-ROM | disk | FTP | other *** search
/ Current Shareware 1994 January / SHAR194.ISO / homecook / myf426.zip / TEMPLATE.RCP < prev    next >
Text File  |  1992-02-10  |  6KB  |  109 lines

  1. !  **************************************************************************
  2. !  *     TEMPLATE.RCP   ---   RECIPE TEMPLATE FILE FOR MYF VERSION 4.xx     *
  3. !  **************************************************************************
  4. !
  5. !  This file is a sample output template form. Its purpose is to output
  6. !  recipes in any form, and with any fields. In other words you specify
  7. !  exactly how the recipe will look on output. This could be very useful
  8. !  for printing recipe cards on any size form available. See the file
  9. !  TEMPLATE.FRT and TEMPLATE.BCK for an example of a recipe card (front
  10. !  and back). The program will read this file in, and substitute the variables
  11. !  (those words starting with "&"), and output the selected recipes to the
  12. !  screen, disk, or printer. This file should have exactly the number of
  13. !  uncommented lines to fit on a form. For example, if your recipe cards
  14. !  accept 20 lines, make sure their are exactly 20 uncommented lines in this
  15. !  file. That way multiple recipes will be aligned properly. Change this file
  16. !  to the way you want your recipes to display. To output by template file,
  17. !  select FILES under the PDM, then RECIPE, then LIST, then toggle the form
  18. !  to TEMPLATE. You will be prompted for a file name to use as a template.
  19. !  Use this file name.
  20. !
  21. !  All applicable recipe variables are included in this file. Please Note:
  22. !          1) Make a backup of this file before modifying it. You may delete
  23. !             a variable, then want to include it later.
  24. !          2) Any line with a ! in column 1 is a comment line and not processed.
  25. !          3) 100 non commented lines of up to 132 columns are allowed.
  26. !          4) Go ahead and delete, add, rearrange, or comment out lines.
  27. !          5) Embed printer codes if you wish.
  28. !          6) Set JUSTIFY to TRUE, NONE, RIGHT or LEFT. This flag will signal
  29. !             whether to fill variables with blanks and which side to fill.
  30. !             This will help in lining up columns of data, especially on lines
  31. !             with more than one variable. For the &DIRECTIONS variable NONE
  32. !             will stop outputting after the last direction line. All the other
  33. !             flags will output all 16 direction lines. JUSTIFY=TRUE is a
  34. !             special flag to right justify QTY and left justify the &MS and
  35. !             &INGRED fields. The JUSTIFY flag may be reset any time in the
  36. !             file and must reside on a comment line.
  37. !
  38. ! JUSTIFY=NONE     Will not pad any fields with blanks
  39. ! JUSTIFY=TRUE     Will right justify QTY and left justify MS and INGRED field.
  40. ! JUSTIFY=RIGHT    Will pad fields with blanks in front of the value.
  41. ! JUSTIFY=LEFT     Will pad fields with blanks after the value.
  42. ! Note justify is set to the last value read.
  43. Name of recipe:&NAME
  44.  
  45. !JUSTIFY=NONE
  46. This is a &CUISINE type recipe, serving &SV people and costs just $&COST
  47.  
  48. ! JUSTIFY=TRUE  will right justify QTY and left justify MS and INGRED field.
  49. Please use the following ingredients:
  50.    &QTY01 &MS01 &INGRED01               &QTY11 &MS11 &INGRED11
  51.    &QTY02 &MS02 &INGRED02               &QTY12 &MS12 &INGRED12
  52.    &QTY03 &MS03 &INGRED03               &QTY13 &MS13 &INGRED13
  53.    &QTY04 &MS04 &INGRED04               &QTY14 &MS14 &INGRED14
  54.    &QTY05 &MS05 &INGRED05               &QTY15 &MS15 &INGRED15
  55.    &QTY06 &MS06 &INGRED06               &QTY16 &MS16 &INGRED16
  56.    &QTY07 &MS07 &INGRED07               &QTY17 &MS17 &INGRED17
  57.    &QTY08 &MS08 &INGRED08               &QTY18 &MS18 &INGRED18
  58.    &QTY09 &MS09 &INGRED09               &QTY19 &MS19 &INGRED19
  59.    &QTY10 &MS10 &INGRED10               &QTY20 &MS20 &INGRED20
  60.  
  61. !Note: The direction variable will output a different number of lines
  62. !      depending on the lines in a recipe. The form feed at the end will take
  63. !      care of lining up the paper. You may try taking the form feed out
  64. ! and setting justify to left.
  65. !
  66. !JUSTIFY=NONE
  67. &DIRECTIONS (R)All other information is ignored on a DIRECTION variable line.
  68.  
  69. !************************************************************************
  70. !
  71. ! Following are NUTRITIONAL INFORMATION variables.
  72. !       Output will be PER SERVING for Recipe and Meal records.
  73. !       Output will be PER MEASUREMENT for Ingredient records.
  74. !       Output will be TOTAL FOR PLAN for the Plan records.
  75. !
  76. ! JUSTIFY=NONE
  77. Be careful:
  78. This recipe has &CAL calories.
  79. This recipe has &CAL calories.
  80. This recipe has &CAL calories.
  81.  
  82.   Poly unsaturated fatty acids:&_PUFA    Mono unsaturated fatty acids:&_MUFA
  83.   Saturated fatty acids:&__SFA    Fiber:&FIBER      Cholesterol:&_CHOL
  84.  
  85.   Fat:&__FAT grams (&%F%)             Protein:&_PROT grams (&%P%)
  86.   Carbohydrates:&_CARB grams (&%C%)           Calories:&CAL
  87.   Sodium:&SODIU        MyField:&USER1     My Other Field:&USER2
  88.  
  89. ! JUSTIFY=RIGHT     (right justify the vitamins)
  90. ! The following are vitamin variables:
  91. Vitamins: &VIT__A IU of A           &VITB_1 mg of B1        &VIT_B2 mg of B2
  92.           &VIT_B6 mg of B6          &VITB12 mcg of B12      &VIT__C mg of C
  93.           &VIT__D IU of D           &VIT__E IU of E         &VITNIA mg Niacin
  94.           &VITFOL mg of Folic Acid  &VITPAN mg of Pantothenic Acid
  95.  
  96. ! JUSTIFY=LEFT (left justify the minerals)
  97. ! The following are mineral variables:
  98. Minerals:                Calcium:&MIN_CA mg           Magnesium:&MIN_MG mg
  99.     Zinc:&MIN_ZN mg    Manganese:&MIN_MN mg           Potassium:&MIN__K mg
  100.     Phosphorus:&MIN__P mg   Iron:&MIN_FE mg              Copper:&MIN_CU mg
  101.  
  102. ! The following are exchange variables:
  103. Exchanges:               Low fat Meat:&XLOFAT       Med fat Meat:&XMDFAT
  104.     Hi fat meat:&XHIFAT           Fat:&X__FAT               Milk:&X_MILK
  105.           Bread:&XBREAD      Vegtable:&XVEGIE              Fruit:&XFRUIT
  106.  
  107. ! Now send a form feed. Take it out if you want.
  108.  
  109.