because lsr processes 32 bits of the short -9 and not 64 bits of the > long binary number? >
Yes, -9 is considered as short. Try: ? bin(lsr(clng(-9),1), 64) 0111111111111111111111111111111111111111111111111111111111111011 Jussi ------------------------------------------------------------------------------ Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today http://p.sf.net/sfu/msIE9-sfdev2dev _______________________________________________ Gambas-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gambas-user
