I'm using the latest build and have this code:

   If Zoom.Adjustment * 0.5 >= Zoom.Maximum Then
     Zoom.Adjustment = Zoom.Adjustment * 0.5
   Endif

Zoom.Adjustment and Zoom.Maximum are both singles. Zoom.Adjustment is 1 
and Zoom.Maximum is 0.5. The expression with these values returns False, 
which is blowing my mind. The same, untouched code worked fine before my 
recompile this evening. Any insight into WTF is going on here?

-- 
Kevin Fishburne
Eight Virtues
www: http://sales.eightvirtues.com
e-mail: sa...@eightvirtues.com
phone: (770) 853-6271


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to