gettingstarted
[Top] [All Lists]

Re: (no subject)

To: gettingstarted at lists dot realsoftware dot com
Subject: Re: (no subject)
From: GAmoore at aol dot com
Date: Sun, 30 Jan 2005 05:24:19 EST
Delivered-to: gettingstarted at lists dot realsoftware dot com
> > 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>

<Prev in Thread] Current Thread [Next in Thread>