>       val50 = (220 - age) * .90;
---------^^
I assume that this should be val90, right?

Anyway: It could well be a type casting problem; i.e. since you have
declared val90 an Int but the calculation is a double it complains. That
would explain the barfing on IntToDouble, Multiplication and DoubleToInt
calls.

Are all your libs loaded?

Your code compiles OK on my machine -- freshly installed CW 7.1 running on
Win2Kpro. I just fired up the old CW, created a Starter project and inserted
the code in starter.c. No problems!

Which taste and version of IDE are you running?


        Karl-Koenig Koenigsson


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to