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

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