home *** CD-ROM | disk | FTP | other *** search
/ The Education Master 1994 (4th Edition) / EDUCATIONS_MASTER_4TH_EDITION.bin / files / foodtion / slim2 / 4.exe / SLIMMER.DOC < prev   
Text File  |  1992-08-09  |  37KB  |  748 lines

  1.    S L I M M E R    R E V   3.0 1   D A T E D    A U G    5 ,   1 9 9 2
  2.  
  3.              (c) copyright 1988 - 1992 by George D. Summers
  4.  
  5. ***************************************************************************
  6.  
  7.         DEDICATION
  8.  
  9.     SLIMMER is dedicated to the ultimate programmer - the  creator  of  the
  10.     universe.
  11.  
  12. ***************************************************************************
  13.  
  14.         OVERVIEW
  15.  
  16.     SLIMMER  will do the following for you:
  17.         1. Calculate your ideal weight.
  18.         2. Calculate  your  ideal daily calorie requirement.
  19.         3. Keep  track of your weight,  food and exercise calories, as well
  20.     as your daily  intake  of  protein,  carbohydrates,  fat,  cholesterol,
  21.     sodium, potassium and fiber and plot your progress.
  22.         4.   Provide you with a starting data base of over 1,200 food items
  23.     with their corresponding food values.  Allows you to select  and  scale
  24.     items from the food tables for your daily food list.
  25.         5.  Provides for custom food tables for each (registered) user. The
  26.     1,200 item data base can be expanded to up to 7,000 food items in up to
  27.     19 categories and up to 400 types of exercise.
  28.         6.   Allows  the  (registered) user to save the last fourteen (days
  29.     of)  daily  food value lists.  These lists may be recalled and  edited,
  30.     summed, or deleted - and even copied to a different date if desired.
  31.         7. Various types of exercise may be selected by the user and may be
  32.     scaled and saved in the daily food value lists.
  33.         8.  Daily  food  value  lists  can  be printed by registered users.
  34.     (or  if no printer is on-line, a print file will be written.) The Epson
  35.     FX and PostScript printers are supported.
  36.  
  37.  
  38.         SYSTEM REQUIREMENTS
  39.  
  40.     SLIMMER  requires  an  IBM  compatable  computer  with at least 450K of
  41.     memory in which to load.  If your computer  has  a  math  co-processor,
  42.     SLIMMER  will  use  it.  SLIMMER can be run on one and two-disk systems
  43.     with difficulty.  It runs fastest when loaded to and run  from  a  hard
  44.     disk-equipped  system. DOS 3.0 or higher is required.  If  you  have  a
  45.     monochrome  or  color monitor with or without a graphics card, you will
  46.     be able to use SLIMMER. The Monochrome, CGA, EGA,  and  VGA  modes  are
  47.     supported.
  48.                                     Page 1
  49.  
  50.  
  51.  
  52.         INSTALLATION - HARD DISK
  53.  
  54.     SLIMMER  is  distributed on two 5-1/4" disks or one 3-1/2" disk with an
  55.     installation batch file HDINST.BAT that will allow  the  user  (with  a
  56.     hard  disk)  to select a source and a target drive for the program.  It
  57.     creates a SLIM30 subdirectory on your hard disk.  To  install  SLIMMER,
  58.     change  to  the drive with this disk in it and enter the command HDINST
  59.     FROM TO where FROM and TO are your  floppy  disk  and  your  hard  disk
  60.     letter designations, respectively. An example is:
  61.  
  62.                                HDINST A D
  63.  
  64.     where  the FROM floppy disk is A and the TO hard disk is D. Notice that
  65.     there are no colons (:) in the above command.
  66.  
  67.  
  68.         INSTALLATION - FLOPPY DISK
  69.  
  70.         Place  your #1  distribution  disk in one floppy drive, and a blank 
  71.     formatted disk in the other drive. Have four 360k, or two 720k,  or two
  72.     1.2 meg or two 1.44 meg disks formatted and ready for the program.
  73.     Run the installation program with
  74.  
  75.                            FDINST FROM TO
  76.     
  77.     and follow the directions on the screen.
  78.  
  79.  
  80.         RUNNING SLIMMER
  81.  
  82.     To run SLIMMER, type S3 and press <ENTER> after you have either entered
  83.     the  SLIM30  subdirectory on your hard disk, or are on the floppy drive
  84.     containing your working copy of the SLIMMER files.  After you have  run
  85.     SLIMMER  a  few  times  and  get  tired of the opening screens, you can
  86.     bypass them by entering S3 n$ and pressing return where n$ is your name
  87.     (or the file name you want to view). For example, you can view the data
  88.     for Slim by typing S3 SLIM, then  pressing  <ENTER>.  A  one-line  .BAT
  89.     file   will   save  you a bit of typing.  It would contain the one-line
  90.     command S3 SLIM (e.g.), and could be called  1.BAT  or  similar  simple
  91.     name.  SLIMMER could then be run by entering "1" and then "<RETURN>".
  92.  
  93.         MONOCHROME MONITORS AND LAPTOPS
  94.  
  95.     SLIMMER makes extensive use of color in its screens and  windows.  This
  96.     looks  great on color monitors and in greyscale tones. The truly "black
  97.     and white" monitor (usually amber or  green),  however,  will  be  very
  98.     difficult  to  read  for some color combinations. For you without color
  99.  
  100.                                     Page 3
  101.  
  102.     capability,  you  may want to  try  the  "black  and  white"  option in
  103.     SLIMMER.   As you start up  SLIMMER  for the first time, simply type in
  104.     S3 BW to run in black and white, or as in the example in  the  previous
  105.     paragraph,  type in S3 BW SLIM to run in black and white and bypass the
  106.     opening screens.  The default black and white mode assumes a monochrome
  107.     monitor and provides a  "white on white"  background.  If your computer
  108.     has graphics  capability,  then select the UTILITY option from the main
  109.     menu and make the appropriate changes to the graphics mode.
  110.  
  111.     The default color configuration assumes a color graphics adaptor  (CGA)
  112.     and has a red on white background.
  113.  
  114.     For those of you with laptops,  SLIMMER  is  available  on  3-1/2" 720k
  115.     diskettes. Please indicate your preference for either the 3-1/2" or the
  116.     (high or low density) 5-1/4" diskettes when ordering.
  117.  
  118.         DEBUGGING
  119.  
  120.     Every effort has been made to program SLIMMER with sufficient  internal
  121.     checks  to  preclude the more common bugs. Do contact me if you get any
  122.     strange occurrances or results. (See my name and  address at the end of
  123.     this document) SLIMMER will be updated as changes become necessary.
  124.  
  125.         MAJOR SLIMMER VERSION #
  126.  
  127.     Version  1.0   - initial  release  - June 1988
  128.     Version  2.0   - added  calorie  counter  &  improved  editor  and plot
  129.                      routines -Feb 1989 (Minor Revs 2.0a ,b ,bx, 2.1)
  130.     Version  2.1   - Fix to allow SLIMMER to run on computers with DOS 2.11.
  131.                      Sept 1989.
  132.     Version  3.0   - Expanded  data  base  to  1,200  items  and  to  track
  133.                      daily  weight,  calories,  exercise,  protein, sodium,
  134.                      potassium, carbohydrates, cholesterol, fat, and fiber.
  135.                      added monochrome graphics for CGA, EGA  and  VGA,  and
  136.                      color  graphics  for VGA. The CALTAB food table editor
  137.                      was made available to registered users  only.  Use  is
  138.                      now  restricted to those with DOS 3.0 or higher. Added
  139.                      support  for  PostScript  printers.  Mouse  support is
  140.                      provided.
  141.     Version 3.01   - Corrected 'out of string space" bug that occur when the
  142.                      *.CAL files get too verbose. Included reference to the
  143.                      CIS on-line registration.
  144.  
  145.                                     Page 4
  146.  
  147.         USE OF SLIMMER REV 1 AND REV 2 FILES
  148.  
  149.     Whenever  revisions  are  made, there's always a question of what to do
  150.     with the old files from the previous revision. In this case,
  151.     If you have a REV 1 or REV 2 file 'n$.SLM',  SLIMMER will convert it to
  152.     a REV 3 file. Be sure to back up your old 'n$.SLM' files before you try
  153.     this. The 'n$.CAL' file from REV 1 and REV 2 should  be  DELETED.  ONLY
  154.     THE DATA FILES ENDING WITH SLM should be retained from the prior revs.
  155.  
  156.         SLIMMER CONVENTIONS
  157.  
  158.     There are  certain conventions that have been used within SLIMMER  that
  159.     try  to  make  it  respond in the way that you might expect for a given
  160.     keystroke. Some of these  are  listed  below:
  161.           <ENTER> - is used to select highlight bar items, to indicate  the
  162.     end  of  keyboard  entries,  and  to  indicate  the  end  of a selected
  163.     function.
  164.           <ESC> - used to cancel a function  and  return  to  the  previous
  165.     menu.
  166.           <SPACE BAR> - used only in food tables  to  tag/untag  your  food
  167.     selections.
  168.           <ARROW  KEY>  - UP and DOWN arrows are used to move the highlight
  169.     bar up and down. In addition, HOME and PAGE UP move the bar to the  top
  170.     of the menu, and END and PAGE DOWN move the bar to the end.
  171.           < + and - > - The  +  and  -  keys  are  used  to  increment  and
  172.     decrement  the  date  and  weight input values and help to decrease the
  173.     keystrokes required to input data. In  general,  there  is  a  list  of
  174.     functions  at  the bottom of each menu or table that will indicate your
  175.     choice of keys to press.
  176.           HOT  KEYS  are  single keystrokes of the letters appearing at the
  177.     left end of some  of  the  lines  of  the  selection  menus.  A  single
  178.     keystroke  of  the selected letter will do the same thing as moving the
  179.     select bar with the up/down arrows and pressing <ENTER>.
  180.  
  181.     Normal editing keys can be used  for  most  of  the  input items. These
  182.     include the  <BACK SPACE>,  <INSERT>,  <DELETE> and the arrow keys.  In
  183.     addition, <CTRL - END> will clear and let you start over with the input
  184.     item.
  185.  
  186.          MOUSE SUPPORT
  187.  
  188.     Mouse Support - In one of the first screens  in  the  program,  SLIMMER
  189.     will  indicate  whether  it has found an active mouse. For a two-button
  190.     mouse, the left button is the <RETURN> key and the right button is  the
  191.     <ESC>  key.  If  you  have a three-button mouse, use the left and right
  192.     buttons only. For user convenience, the mouse is used to input some  of
  193.     the  values.  For example, when the date is requested, you may increase
  194.     the date by pushing the mouse forward, or decrease the date by  pulling
  195.     the  mouse backward. Try this whenever input is requested, and you will
  196.     quickly see where it is active and where it not. Again,  for  increased
  197.  
  198.                                     Page 5
  199.  
  200.     ease  of  use, the left button is used to tag items when you are in the
  201.     calorie counter section of the program. When you are asked for a  scale
  202.     factor,  you may press the left button to accept the default value of 1
  203.     or you may first move the mouse backward or forward until you  see  the
  204.     value  that  you  want.  For foods, the scale factor varies from 0.1 to
  205.     10.0 in steps of 0.1, and  for  exercise  (minutes)  the  scale  factor
  206.     varies  from  1 to 100 in steps of 1 as you move the mouse. You are, of
  207.     course, always able to input any scale factor that you desire from  the
  208.     numbers on the keyboard....
  209.  
  210.     On some computers such as 386's and 486's the mouse  response  will  be
  211.     too  fast. In order to slow down the mouse, go to the UTILITIES section
  212.     and select the "cHange  mouse  speed" option. Note that the mouse speed
  213.     is shared by all those who use the same computer.
  214.  
  215.         BACKGROUND COLOR AND GRAPHICS MODE
  216.  
  217.     Whenever  you  run  SLIMMER  for the first time, go to the UTILITY menu
  218.     and select a background color and graphics mode for  yourself. When you
  219.     select the background color and graphics mode, it is  saved in a n$.CFG
  220.     file for you (n$ is your name) and will recalled the next time.
  221.  
  222.         THE OUTPUT FILES
  223.  
  224.     The first time you run SLIMMER, it will  create  a  new  file  in  your
  225.     name, It requests your first name, then uses the first eight letters of
  226.     your  name  plus  the extension SLM to create a file such as "JOHN.SLM"
  227.     for a user named John. An example file named SLIM.SLM is included  with
  228.     SLIMMER  to  allow you to see a file with some daily weight and calorie
  229.     data points in it. SLIM is a "pseudo" registered user in that the  File
  230.     Management  options  can be examined when SLIM is the user name and the
  231.     program  is started with S3 SLIM. While the file management menu can be
  232.     viewed, the operation of the items are disabled. Be sure to select  the
  233.     graphics  mode corresponding to your system's capability in the UTILITY
  234.     section. You will then be able to view SLIM's sample data.
  235.  
  236.     SLIMMER will only save up to 400 days worth of weight  and  food  value
  237.     data.   On the  401st day, it will cut back to to 300 items (discarding
  238.     the first 100 values. If you want to keep a  complete  record  of  your
  239.     weight, and calorie file, you are advised to make a copy of your output
  240.     file  before  it  reaches  400  data  points, and every 400 data points
  241.     thereafter.
  242.     HINT: You may, if you wish, use a different name in order to keep  your
  243.     old  data  on-line. For example, SLIM has accumulated 400 days worth of
  244.     data. Now, starting on the 401st day, he logs in as SLIM1 for the  next
  245.     400  days and so on. This will allow him to look at his old file at any
  246.     time by logging in as SLIM.
  247.  
  248.                                     Page 6
  249.  
  250.  
  251.  
  252.         DATE ENTRIES
  253.  
  254.     When you first enter SLIMMER, you will be prompted  for  a  date.  This
  255.     date  is the default date for the daily date/weight/calorie  file.  The
  256.     date  from  your  system is used as the initial starting date. You need
  257.     only press <ENTER> to accept the date, or press + or - to  increase  or
  258.     decrease  the  date  by  one day.  You can also enter the date from the
  259.     keyboard.   Plotted  data  is  output  by date entry number rather than
  260.     date. In other words, if you have 7  daily  weights  -  followed  by  a
  261.     2-week  vacation  away  from  the scales - followed by seven more daily
  262.     weights, it would appear as 14 consecutive data points in  your  output
  263.     file and on your graph.
  264.  
  265.  
  266.         YOUR PERSONAL DATA AND GOALS
  267.  
  268.     This  section of the program should be completed by the user during his
  269.     or her first session with SLIMMER. Simply start at the top and move the
  270.     select bar using the up & down arrow keys. The first  item  "List  your
  271.     Personal  Data"  will be empty until you complete the rest of the item.
  272.     Carefully enter your response to each selected item as  you  work  your
  273.     way down the menu - from frame size down to your height. Finally select
  274.     the  "Calculate  Weight and Calorie Goals" item to calculate your ideal
  275.     weight  and  calorie goals. You will be asked to input your goal weight
  276.     and calorie intake goals. The goals are displayed on your user graphs.
  277.  
  278.     Note: Those of you  who  have  extremely  small  wrists  or  very  long
  279.     slender  fingers  may  find  yourselves  in  the  "  S " or Small frame
  280.     category. If this happens, feel free to upgrade yourself to the "  M  "
  281.     or  Medium  frame  category.  The  method used in SLIMMER to select the
  282.     frame size is admitedly crude - and your doctor's definition should  be
  283.     taken instead.
  284.  
  285.  
  286.         REVISE WEIGHT & FOOD VALUE DATA
  287.  
  288.     The daily plot data of date, calories, and weight  etc  can  be  edited
  289.     here. New lines can not be added, but existing lines can be changed. If
  290.     you  are  changing numbers by overwriting them, be sure that the number
  291.     returned by the editor is the one you want. (check your work). You  may
  292.     find  it  helpful to use the space bar to  overwrite the old data if it
  293.     extends beyond the new numbers you enter. To delete a line of data from
  294.     the list, use the CTRL-END command to blank out the  DATE  entry.   The
  295.     editor will return a / value, and that line will be  deleted  when  you
  296.     leave the editor.
  297.  
  298.                                     Page 7
  299.  
  300.  
  301.  
  302.         GRAPH YOUR PROGRESS
  303.  
  304.     Plots of your daily weight and food or exercise values can be viewed in
  305.     either ASCII,  low,  medium,  or  high  resolution  depending  on  your
  306.     system's  capability.  If  in  doubt  about  the  configuration of your
  307.     system, experiment with the options offered  in  the  UTILITY  section.
  308.     You  will need a color graphics adapter (CGA or EGA or VGA) to view the
  309.     high resolution graphs. SLIMMER will let you know if it  can't  find  a
  310.     graphics  card.  If  you  have  placed  the  command  GRAPHICS  in your
  311.     AUTOEXEC.BAT or have executed the command at some time before  entering
  312.     SLIMMER  and  if  you  have  a CGA graphics card or better, and if your
  313.     printer can do IBM graphics,  you  will  be  able  to  copy  your  high
  314.     resolution graphs to the printer with the <SHIFT-PRINT SCREEN> command.
  315.  
  316.  
  317.         COUNT CALORIES / VIEW FOOD TABLES
  318.  
  319.  
  320.     This section of the program is used  to  generate  your  Daily  Calorie
  321.     Counter  lists.  It is both the most complex and also the most powerful
  322.     section of the program. Its component parts are as follows:
  323.          1. Weight entry.
  324.     As you enter this section of the program, you will be prompted for your
  325.     daily weight. This happens every time. The default value is either your
  326.     previous day's value or a value  you  entered  earlier  the  same  day.
  327.     Change  the weight with the + or - keys, or enter a new weight from the
  328.     keyboard.
  329.          2.  SLIMMER food and exercise tables
  330.     The  food  tables,  starting with  "Beverages"  and  going  through the
  331.     "Vegetables"  are  selected  using  the arrow keys or the letter at the
  332.     left  end  of each line may be pressed to select  the  line.  You  will
  333.     then  see the food or exercise table. You may now use the up/down arrow
  334.     keys as well as page up/down  and  home/end  keys  to  move  about  the
  335.     table.  F1  provides  a  help menu. You may press the V key to show the
  336.     verbose data on each highlighted item.  Items  are  selected  with  the
  337.     <SPACE  BAR>  key  and  will  print  a  marker  at  the left end of the
  338.     highlighted line. (If the marker is already shown, then the <SPACE BAR>
  339.     will remove it).  Use the arrow keys to select a line -  then  mark  it
  340.     with  the  <SPACE  BAR>  key.  You  will  now be asked to enter a scale
  341.     factor.  The default value of 1 will save the line  as  shown.  If  you
  342.     enter  a  1.5,  the quantities will all be multiplied by 1.5 before the
  343.     line is transferred to your daily calorie counter list. (Note that  the
  344.     values  on the screen are NOT modified).  A scale factor less than .001
  345.     will return the line with a factor of 1.  The exercise tables  function
  346.     in  the same way as the food tables, but you enter the time in minutes.
  347.     When you are finished selecting all the applicable  items  on  a  given
  348.     food  table, press <ESC> to add the items to your daily calorie counter
  349.     list.
  350.  
  351.                                     Page 8
  352.  
  353.     Registered users get a Custom Food Table  Menu  from  which  to  select
  354.     their  items.  These  are  the tables that they edited using the CALTAB
  355.     editor. Another feature is the SEARCH routine. If the (registered) user
  356.     enters a "?", he will be asked for a search string. It doesnt matter if
  357.     it is upper or lower case, but is limited to 8  characters  in  length.
  358.     For  example,  the  search words "bacon" or  "Bacon"  or  "BACON"  will
  359.     each  provide  a  table  of 18 items that contain bacon in the title or
  360.     description. A hint to those that will be  using  the  search  routine:
  361.     Even  with  my  XT operating at 10 mhz and with a math co-processor, it
  362.     takes about 12 seconds to search through the 1200 items that come  with
  363.     SLIMMER.   It  will save time if you customize your personal data files
  364.     to eliminate items that you don't eat, and also reduce  the  number  of
  365.     categories if at all possible.
  366.  
  367.         3. Edit Calorie Counter List for n$
  368.     When you have entered all the items for the day or for a portion of the
  369.     day,  you  can  now  edit  the list further by selecting the line "Edit
  370.     Calorie Counter List for n$".  In this editor,  you  can scale any line
  371.     again  using  the  F2  key. You will be asked for a scale factor again.
  372.     You may enter any number from zero upward. For example: if instead of 1
  373.     ounce you want three ounces,  you  enter  a  3  as  the  scale  factor.
  374.     Similarly,  enter  .5 to get a value of .5 ounce. Experiment a bit with
  375.     this until you get the hang of it.  NOTE THAT IF YOU SCALE A LINE BY 0,
  376.     THE LINE WILL BE DELETED. SLIMMER will check  to  see  if  your  scaled
  377.     numbers  seem reasonable.  If the quantity numbers seem out of range, a
  378.     comment  will  be given. At this point you should use the V key to view
  379.     the verbose listing.  As you move the space bar  up  and  down  on  the
  380.     individual  items  in  your  daily  list, you will notice one (or more)
  381.     items in the verbose list  where  the  numbers  are  written  over  the
  382.     vertical  bars that separate the numbers. The corresponding item may be
  383.     in error. After editing your data, use <ESC> to leave ther editor.
  384.  
  385.         4. Hint
  386.     When you are near the top of the menu and want to go to the bottom line
  387.     of the menu, use the <PAGE DOWN> or <END> key. Similarly, the <PAGE UP>
  388.     or <HOME> keys take you to the top.
  389.  
  390.  
  391.         FILE MANAGEMENT SELECTIONS (Registered Users Only)
  392.  
  393.     This section of the program will let you see which daily calorie  count
  394.     lists  are  stored  for  you. As you enter this section of the program,
  395.     there is a list of dates displayed on the left side of the  screen.  If
  396.     you  are just starting out, the list will be empty. Above the list will
  397.     be displayed "today's" date.
  398.  
  399.         1. Sum your daily calories
  400.     This  will  provide you with a summation of the day's food and exercise
  401.     values for "today's" date.
  402.  
  403.                                     Page 9
  404.  
  405.         2. Change today's calorie counter date.
  406.     The working date - or "today's" date can be changed  by  selecting  the
  407.     "Change  Today's  Calorie Counter Date" line. After you have selected a
  408.     new date, it may coincide with one  of  the  dates  on  the  left  hand
  409.     display  of  dates.  If so, the data for that day will be recalled.
  410.  
  411.         3. Erase today's calorie counter list
  412.     If  you want a blank list for "today's" date, you can select the "Erase
  413.     Today's Calorie Count List" item to clear the file and  let  you  start
  414.     over  for that date. You will have to enter a Y or y to verify that you
  415.     do wish to erase the data.
  416.  
  417.         4. Print your daily calorie counter list
  418.     Using this item will allow you to send your data to either an Epson  FX
  419.     or  PostScript  type of printer. Two print files are created. The first
  420.     is  the n$.PRT file (Epson FX) and the n$.PS  file  (PostScript) (where
  421.     n$ is your name)..  These are created whether you print or not, and are
  422.     overwritten the next time you elect to print.
  423.  
  424.     NOTE:  SLIMMER  Epson  FX print files only use the standard BASIC print
  425.     commands and should work with most printers. No attempts  are  made  to
  426.     change  line  spacing,  to  skip perforations, etc. I leave the printer
  427.     settings for you to do for your own individual printer prior to running
  428.     SLIMMER. The PostScript files are written using Courier-Bold  10  point
  429.     as the default font and pitch.
  430.  
  431.         5. Recall old list for today's date
  432.     You can recall a prior day's file into today's date (if  you  have  the
  433.     same  thing  to  eat each Friday, for example) by selecting the "Recall
  434.     Old List for Today's Date" line. You will be given a choice of the last
  435.     fourteen (or less) daily calorie count files that have been saved for you.
  436.  
  437.     NOTE:   If  you  already have a file saved for today's date, its values
  438.     will be overwritten.
  439.  
  440.  
  441.         UTILITIES
  442.  
  443.     The  UTILITIES  section is used for a variety of things. It can be used
  444.     to  change or add user names without leaving the program, to change the
  445.     background color, to select the graphic  mode,  to  back-up  your  data
  446.     files,  change  the  mouse  speed,  or  to select a printer. First-time
  447.     users  should  select  a  printer  and  graphic mode during their first
  448.     session. The values will be saved for subsequent sessions.
  449.  
  450.         CALTAB FOOD TABLE EDITOR
  451.  
  452.     This  CALTAB  editor  is  only available to registered users. In it the
  453.     user may edit not only  the  data  within  the  food  tables,  but  the
  454.     description  and  name of the table itself. For new (registered) users,
  455.     you need only enter this section, then escape out of it  to  initialize
  456.  
  457.                                     Page 10
  458.  
  459.     your  personal  food  table files and to generate your index file. This
  460.     index file is your key to using the custom menus in the COUNT  CALORIES
  461.     /  VIEW  FOOD  TABLES  section.  There  is a separate document file for
  462.     CALTAB that goes into more detail ...
  463.  
  464.         UNEXPECTED ERRORS AND LOCKUPS
  465.  
  466.     While  every attempt has been made to squash all the bugs, there may be
  467.     a few that remain. The bugs that throw the program suddenly back to DOS
  468.     are very hard to trace since no error messages are given.   An  attempt
  469.     has  been  made  within SLIMMER to include error-trapping code to cover
  470.     every line of the program. Therefore, if  an  error  should  occur,  an
  471.     error  comment  will  appear  and  you will be able to return to DOS by
  472.     pressing any key. Some multiple errors may even lockup your computer at
  473.     this  point.  (If  you  reach  such  a  point,  make  a  note  of   the
  474.     circumstances  and  drop  me  a  note  about it.) Try the control-break
  475.     followed by control-c to see if there is a response. If there is  none,
  476.     simply  reboot your computer (turn it off then on again) and it will be
  477.     none the worse for wear.
  478.  
  479.         NOT ENOUGH MEMORY TO LOAD OR RUN SLIMMER (ERROR # 7)
  480.  
  481.     SLIMMER will require 135K to load, but then requires a total of  up  to
  482.     450k  to  run  the  larger  selections from the main menu.  If you have
  483.     some other programs loaded in memory and SLIMMER doesn't fit,  you  may
  484.     have  to  remove  some  of the other ones. As an aid in determining how
  485.     much memory is left after SLIMMER is loaded, run SLIMMER  and  whenever
  486.     you  are  asked for a date, respond with <ALT><F1>. This will trigger a
  487.     routine that will provide you with the memory available. There are  two
  488.     places  in the program that ask for the date. The first is when SLIMMER
  489.     first starts, the second in in the File Management  section  under  the
  490.     Count  Calories/...   selection  from  the  main  menu.  From  the File
  491.     Management menu, select Change Today's  Calorie  Counter  Date.   Since
  492.     some  of  the  arrays  in SLIMMER are allocated dynamically, the memory
  493.     available will be different in the various sections of the program.
  494.  
  495.         RANGE OF APPLICABILITY
  496.  
  497.     As  an Engineer, I often deal with the twin "concepts" of interpolation
  498.     and extrapolation. Interpolation means simply to obtain tabular  values
  499.     from  within the limits of the table. Extrapolation is fabricating data
  500.     beyond the limits of the table by making some assumptions to extend the
  501.     data. SLIMMER, on order to not quit every time that data  is  requested
  502.     from  beyond  the  limits  of  the  tables,  is  written  using  linear
  503.     extrapolation functions - much like weather forcasters do - and assumes
  504.     that what went on before will continue  into  the  future.  There  will
  505.     therefore  be  some error introduced into your ideal weight and calorie
  506.     calculations when you fall  outside  the  following  limits:
  507.  
  508.                                     Page 11
  509.  
  510.         Weight:            minimum = 90 lbs, maximum = 220 lbs
  511.  
  512.         Height: for men    minimum = 5'-1", maximum = 6'-3"
  513.                 for women  minimum = 4'-8", maximum = 5'-10"
  514.  
  515.         Age   : Adults 25 years of age and above. (If between  18  and  25,
  516.                 your  ideal  weight  could be reduced by one pound per year
  517.                 for every year below age 25.)
  518.  
  519.         Exercise Calories: are based on data given for a weight of 150 lbs.
  520.                 An adjustment is made for weight in the range of 110 lbs to
  521.                 190 lbs.  The  range  of applicability is therefore 110 lbs
  522.                 thru 190 lbs.
  523.  
  524.  
  525.  
  526.         RUNNING UNDER WINDOWS 3.0
  527.  
  528.    For the convenience of those running MicroSoft Windows, a DIET.ICO  file
  529.    is included for use as the icon.
  530.  
  531.  
  532.         SOURCE CODE
  533.  
  534.     For those of you who have Borland's Turbo Basic and want to have a copy
  535.     of  the  SLIMMER  source  code, it is available to REGISTERED users for
  536.     $10. For  unregistered  users,  the  cost  is  $45  (and  includes  the
  537.     registration). The source code is provided to registered users with the
  538.     request that any modification or variation of SLIMMER be released under
  539.     a  different  name.  I  wish  to reserve the name SLIMMER, SLIMMER.EXE,
  540.     SLIMMER.ARC, SLIMMER2, SLIM21,  etc as unique  names  on  the  bulletin
  541.     boards.  SLIMMER is  written and compiled with Turbo Basic Version 1.1.
  542.     (It will compile with Version 1.0 if desired)
  543.  
  544.  
  545.         DISCLAIMER
  546.  
  547.     For obvious reasons, no claims are made or implied that SLIMMER is more
  548.     than  a database and a tracking tool. All medical data contained herein
  549.     is correct to the best of my  knowledge,  but  the  user  (YOU)  assume
  550.     complete  responsibility  for  the use of and the results of the use of
  551.     this software.
  552.  
  553.  
  554.         ON THE IMPORTANCE OF EXERCISE
  555.  
  556.     Dieting without a concurrent exercise  program  is  dangerous.  It  can
  557.     lead  to a serious loss of muscle and a drop in metabolic rate. Results
  558.     of a study were reported in  1984  in  "the  Yo-Yo  Syndrome"  by  G.L.
  559.     Blackburn,  M.D.,Ph.D.,  K.N.  Pavlou,  Sc.D.,  and  V. Zak in RxWeight
  560.     Control, Vol.2, No.5, Jun-Jul 1984.
  561.  
  562.                                     Page 12
  563.  
  564.  
  565.     When 1000 calorie a day diets were administered to separate  groups  of
  566.     exercisers and non-exercisers, the following results were found:
  567.  
  568.                           EXERCISE GROUP        NON-EXERCISE GROUP
  569.  
  570.     Food Calories             1000/day              1000/day
  571.  
  572.     Total Weight Loss          19 lbs                18 lbs
  573.  
  574.     Body Fat Lost              23 lbs                11 lbs
  575.  
  576.     Muscle Gained               4 lbs                 -
  577.  
  578.     Muscle Lost                 -                     7 lbs
  579.  
  580.     If  you attempt to diet without exercise, you will reach a plateau at a
  581.     weight higher than your ideal weight, and  your  metabolism  rate  will
  582.     decrease as your body tries to compensate for the lack of calories. The
  583.     above table should help to convince you of the need to exercise.
  584.  
  585.     Ways to Help to Lower High Cholesterol Levels:
  586.  
  587.         1. Decrease or eliminate coffee and alcohol from your diet.
  588.         2. Include fish in your diet.
  589.         3. Include  soluble  fiber in  your diet - especially that found in
  590.     beans (pinto or navy) and from oat bran.
  591.         4. Exercise at least 3 or 4 times a week.  This helps increase  the
  592.     good cholesterol HDLs and decrease the bad cholesterol LDLs.
  593.  
  594.     Sources:
  595.  
  596.     United  States  Department  of Agriculture, "Nutritive Value of Foods",
  597.     Home and  Garden  Bulletin  Number  72,  Revised  1981.  United  States
  598.     Department  of  Agriculture,  Handbook No. 8, Revised Sections 8-1 thru
  599.     8-12.
  600.  
  601.     Bowes  and  Church's  "Food  Values  of  Portions  Commonly Used", 15th
  602.     edition, revised by Jean  A.T.Pennington,  Ph.D.,  R.D.,  published  by
  603.     Harper & Row, New York.
  604.  
  605.     "The Complete "Lite" Foods Calorie, Fat, Cholesterol, and Sodium
  606.     Counter", by Densie Webb, Ph.D., R.D., Bantam Books, 1990.
  607.  
  608.     "The Complete Book of Food Counts", by Corinne T. Netzer, A Dell Book,
  609.     1991.
  610.  
  611.                                     Page 13
  612.  
  613.     Routines written by others and used in SLIMMER are
  614.         TBWINDO.INC  -  Turbo  Basic  window  routines that make SLIMMER an
  615.                      attractive program. For those  of  you  that  want  to
  616.                      contact him, Rick can be reached thru  his  Compuserve
  617.                      #   76210,443.   He  now  has  improved  routines  for
  618.                      PowerBasic as well.
  619.         INPSUB.INC  - Author Unknown
  620.         JULIAN.INC  - Public Domain by Joe Vest
  621.         FNEDIT.INC  - Public Domain by Joe Vest
  622.         GETFREE.BAS - Author Unknown
  623.         CHKCRC.INL  - Written by Craig J Kim
  624.  
  625.  
  626.  
  627.         ABOUT THE AUTHOR / PROGRAMMER
  628.  
  629.     SLIMMER  is  the  first major program written by myself in TURBO BASIC.
  630.     My background is in Structural Engineering, and I'm  currently  working
  631.     as  an  Aerospace  Structures  Engineer  for  Fairchild  Space  Co.  in
  632.     Germantown, MD. I hold a PhD in Applied Sciences from the University of
  633.     Delaware,  where  I  completed  a  dissertation  on  various   solution
  634.     techniques  for laminated plates. My interests include the violin which
  635.     I currently play with my church's worship team.  My home computer is an 
  636.     AT clone, operating at 12 mhz with an 80 meg hard disk,  a 3-1/2" and a
  637.     and a 5-1/4" high density floppy.  I use a 2400  baud modem and BOYAN's 
  638.     version D4 shareware comm package to access the various BBS's. I have a 
  639.     NEC Multisync 2A color monitor which helps me to see the effects of mo-
  640.     nochrome thru VGA  programming. My programming time is generally in the 
  641.     wee hours - usually between 3 and 6 am and on the  weekends -  and  any 
  642.     other free moment.  If  any  of  you  want to drop me a line or leave a 
  643.     message, my mailing address is:
  644.  
  645.                         George D. Summers
  646.                         2117 Coon Club Road
  647.                         Westminster, MD 21157
  648.  
  649.     and my Compuserve number is: 76276,564
  650.  
  651.  
  652.     I'll  have  the  latest version of  SLIMMER  available on CompuServe in
  653.     Library 10 (Exer/Fit/Nutrition). Type GO GOODHEALTH at the ! prompt and
  654.     when you get to the library, brouse thru using the keyword SLIMMER. On-
  655.     line registration of SLIMMER is available in GO SWREG, ID # 186.
  656.  
  657.  
  658.                                     Page 14
  659.  
  660.  
  661.         WHERE DOES SLIMMER GO FROM HERE
  662.  
  663.     Every  major  revision  to  SLIMMER  takes  about  six  months or so to
  664.     formulate and test. You the users will, to a large part,  be  the  ones
  665.     that  dictate  what is and is not included in future revisions. Do send
  666.     your comments and suggestion. Some possible directions are as follows:
  667.  
  668.         1. Write a version for the  Macintosh.
  669.         2. Rewrite SLIMMER in the C language.
  670.         3. Prepare a version for Windows
  671.         4. Prepare French, Spanish & German versions.
  672.  
  673.  
  674.         REGISTRATION
  675.  
  676.     For those of you interested in registration, all  the  information  you
  677.     need  is found by selection the REGISTRATION line in the main menu. You
  678.     are shown a registration form that you can send  to  your  printer.  Be
  679.     sure to indicate your preference for 3-1/2" or 5-1/4" disks.  You may
  680.     use the form found on the next page of this document file instead if you
  681.     have printed this file.
  682.  
  683.  
  684.  
  685.  
  686.  
  687.  
  688.  
  689.  
  690.  
  691.  
  692.  
  693.  
  694.  
  695.                                     Page 15
  696.  
  697.  
  698.                          SLIMMER REGISTRATION FORM
  699.  
  700.  
  701. Your Name _____________________________________________________________________
  702.  
  703. Street Address ________________________________________________________________
  704.  
  705. City, State, Zip ______________________________________________________________
  706.  
  707. Phone # (Optional) ____________________________________________________________
  708.  
  709. Disk Size Desired      3-1/2" ________     or    5-1/4" _______
  710.  
  711. Disk Density           High   ________     or    Low    _______
  712.  
  713. Registration # shown in SLIMMER closing screen  _______________________________
  714.  
  715. Amount Enclosed:  $35 for registration __________
  716.  
  717.                   $45 for registration and source code __________
  718.  
  719.                   $50 for registration outside USA __________
  720.                       (U.S. Funds or Money Order on U.S. Bank Only)
  721.  
  722. Please describe your equipment (optional):
  723.  
  724. Computer type ____________________________________________DOS version__________
  725.  
  726. Amount of RAM (memory) __________  ;   Hard disk size ___________ meg
  727.  
  728. Graphics type: Mono _____ , CGA _____ , EGA _____ , VGA _____ , Other _________
  729.  
  730.  
  731. Comments_______________________________________________________________________
  732.  
  733. _______________________________________________________________________________
  734.  
  735. _______________________________________________________________________________
  736.  
  737. _______________________________________________________________________________
  738.  
  739. _______________________________________________________________________________
  740.  
  741. Please send this form and your check to:
  742.  
  743.                         George D. Summers
  744.                         2117 Coon Club Road
  745.                         Westminster, MD 21157
  746.  
  747.  
  748.