Thanks again GAmoore, works wonderfully, I had a typo error.
Lennox
From: GAmoore at aol dot com
Reply-To: Getting Started <gettingstarted at lists dot realsoftware dot com>
To: gettingstarted at lists dot realsoftware dot com
Subject: Re: (no subject)
Date: Sun, 30 Jan 2005 05:24:19 EST
> > I see, w and H are input by the user into EditFields Wt and Ht
>
> Then you need to get those values and do the math with them.
>
Of course he needs values. I thought he had left that part of the code out
and was abbreviating it.
For debugging just do this
W = 100
H = 60
BMI = W/(H*H)
bmi.text = format( BMI, "#.###")
Then you can worry about how you get values into those variables..e.g have
an
editfield...
W = val( ef_w.text)
H = val(ef_h.text)
BMI = W/(H*H)
bmi.text = format( BMI, "#.###")
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://www.realsoftware.com/listarchives/lists.html>
_________________________________________________________________
Don't just search. Find. Check out the new MSN Search!
http://search.msn.click-url.com/go/onm00200636ave/direct/01/
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://www.realsoftware.com/listarchives/lists.html>
|