On a Mac D8, I also get the same result (0.5480) both ways.
Rich Shupe
On 2/24/01 4:30 AM, Mahmood Akhtar ([EMAIL PROTECTED]) sent:
>float(sprite(p_Sprite).height)/(sprite(p_Sprite).width)
>
>When I use it within a handler it gives the result 1.0000, whcih is not
>accurate, but when it is used in message window the result is 1.3261, which
>is accurate. Why?
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list,
email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo. Thanks!]