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

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