LePhuronn wrote:
> 
> >From what I have seen when I have tried to use float() myself, the float is
> killed if you try to process with another integer.
> 
> Try rearranging the float to something like...
> 
> float(sprite(1).height / sprite(1).width)

that won't work, because the float is applied too late...

> 
> or you could go overkill just to make sure
> 
> theWidth = float(sprite(1).width)
> theHeight = float(sprite(1).height)
> 
> theResult = theWidth / theHeight

that will work, though you need only apply float to one or the other...


> 
> [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!]

-- 
R. Bhakti Klein
Multimedia Programmer, Distributed Learning Workshop
http://www.dlworkshop.net/
··
Baritone, Wicki6
http://www.wicki6.com
···
"On Earth, you can only do little things;
but you can do them with a lot of Love."
                              -- Mother Theresa

[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!]

Reply via email to