Operating instructions

The Program
The program that follows indicates
what a person should weigh based on
height, body build and sex. The ideal
weights given are generally for men and
women of ages
25
and over. Besides
ideal weights,
this
program estimates
whether a person is obese, the percent
that a person's weight is above the max-
imum ideal weight, the weight-%
of
body
fat and
of
body water, and the body sur-
face area. These physiological para-
meters are applicable
to
those over the
age
of
16.
Obesity is estimated by a critical
obesity index based upon Ouetelet's in-
dex
(01).
This critical index is reached
when the individual's weight is about
18
percent above the maximum ideal
weight. Also,
01
is used
to
estimate body
fat (BF). The BF via
01
is in good agree-
ment with the value from weight-%
water
(BW)
using
the expression:
100-137'BW (however, another expres-
sion for BF is used in
this
program).
In
the program listing that follows,
REM
statements are
to
be found in line
numbers
20,
96,
100,
132, 138,
143,
148,
162,200, and
490.
Line numbers 500-600
contain height-weight data for females
only while numbers
750-860
contain
height-weight data for males only. In line
number
50,
W$(J,K) denotes an array
for
heights and weights corresponding
to
small, medium, and large body frames.
Line numbers
97-99
and
137
express the
program
limitations
for females (must
not have height below
5'0"
or above
5'10", and if body frame is small,
physiological parameters will not be
given); while, lines 197-199 and
237
ex-
press the program limitations for males
(must not have heights below
5'4"
or
above6'3", and
if
body frame is small,
physiological parameters will not be
given). Line numbers
133
and
233
deter-
mine the percent that an individual's
weight exceeds the maximum ideal
weight and, numbers
145,
150-160,
245
and 250-260 calculate
01
which is used
to
determine body fat and whether or not
a person is obese.
Line numbers
165,
170, 175,
265,
270,
275
allow the estimation
of
body fat,
body surface area, and body water both
in men and women. Applesoft II BASIC
in
ROM
was employed and the program
required about 8.5K free bytes. (It may be
noted here
that
a BASIC master com-
mand list has been published (Recrea-
tional Computing, Sept-Oct,
1979))
which is applicable
to
SOL-20,
PET
2001,
APPLE II, and LEVEL II
TRS-80
com-
puters.)
PROGRAM
LISTING
2
HOME
3
PRINT
"THIS
PROGRAM
TELLS
YOU
WHAT
YOU
SHOULD
WEIGH
BASED
ON
DATA
ADAPTED
FROM
THE
BOOK
(WEIGHTS
IN
THIS
BOOK
WERE
SUBTRACTED
BY
3
TO
GIVE WEIGHTS
IN
BED
CLOTHING,
WHICH
WERE
USED
IN
THIS
PROGRAM),
'NORMAL
& THERAPEUTIC
NUTRITION'
(13TH
EDITION),
";
4
PRINT
"BY
C.H.
ROBINSON,
1972,
P.848
(MACMILLAN). HEIGHT
LIMITATIONS
ARE,
FOR
WOMEN:
5~
TO
5-10;
FOR
MEN:
5-4
TO
6-3
(NO
SHOES).
IDEAL WEIGHTS GIVEX
jRE
FOR
BED
CLOTHING
AND
ARE
FOR
";
5
PRINT
"MEN
AND
WOMEN
OF
AGES
25
AND
OVER
(FOR GIRLS
18-25,
SUBTRACT 1
POUND
FOR
EACH
YEAR
UNDER
25)."
6
PRINT
"BESIDES
IDEAL WEIGHTS,
THIS
PROGRAM
ESTIMATES
OBESITY,
BODY
FAT,
BODY
SURFACE AREA,
AND
TOTAL
BODY
WATER, THESE
ARE
APPLICABLE
TO
THOSE
OVER
THE
AGE
OF
16.
GENERALLY,
THE
%TOTAL
BODY
WATER
IS
LOWER
IN
FEMALES
THAN
IN
HALES.
";
7
PRINT:
PRINT:
PRINT
"PRESS
'CONT'
TO
CONTINUE!";
:
PRINT:
STOP:
PRINT
8
PRINT
"FURTHER, THE % OF
WATER
IN
LEAN PERSONS
IS
HIGHER
THAN
IN
OBESE PERSONS.
ABOUT
55-60%
OF
THE
BODY
WEIGHT
IS
WATER. A
DEVIATION
OF
NOT
MORE
THAN
10%
AllOVE
OR
BELOW
THE
DESIRABLE
WEIGHT
FOR
AN
INDIVIDUAL
IS
NOT
";
9
PRINT
"CONSIDERED
SIGNIFICANT.
THE
TERM
'OVERWEIGHT'
IS
GENERAUi'J
APPLIED
TO
PERSONS
WHO
ARE
10-20%
ABOVE
THE DESIRABLE WEIGHT.
'OBESl'!'Y'
IS
APPLIED
TO
PERSONS
WHO
ARE
ABOUT
20%
OR
MORE
OVER,:
'NEIGHT.
";
1°
PRINT
"IN
THIS
PROGRAM, OBESITY
IS
DETERMINED
BY
A
CRITI
CAL
OBESITY INDEX
BASED
UPON
'QUETELET'S
INDEX'
(QI).
THIS
CRITICAL
INDEX
IS
REACHED
WHEN
THE
PERSON'S
WEIGHT
IS
ABOUT
18%
ABOVE
THE
MAXIMUM
IDEAL WEIGHT.
ALSO,
QI
IS
USED
TO
";
11
PRINT
"ESTIMATE
BODY
FAT
(BF).
THE
BF
VIA
QI
IS
IN
GOOD
AGREEMENT
WITH
THE
VALUE
FROM
TOTAL
BODY
WATER
USING:
%BF-100-
(137*
I'!'.
WATER/BODY
WT.).":
PRINT:
PRINT
"PRESS
'CONT'
TO
CONTINUE!":
STOP:
PRINT
12
PRINT
"MORE REFERENCES:
HUME
& WEYERS,
J.
CLIN
•
PATH.,
VOL.
24,
PP.
234-238
(1971);
JAMES,
(A
DHSS/MRC
REPORT)
HER
MAJESTY'S
STATIONERY
OFFICE,
LONDON,
1976
(ISBN
0
11
450034
7).
REMARKS
ARE
TO
BE
FOUND
IN
LINE
#'S
20,
96,100,132,138,143,148,162,
200,
490."
20:16
MICRO
--
The
6502
Journal
January,
1980