More errors fixed from GambasTester, and now self test ignores comment lines.
Jussi On Mon, Nov 15, 2010 at 23:02, Jussi Lahtinen <[email protected]>wrote: > OK, these are not the errors I meant... These are obviously my errors. > I fixed Format$ to be compared against Str$(). > > There might be other similar errors too... > > Jussi > > > > 2010/11/15 Benoît Minisini <[email protected]> > > > If Format$(Pi, "#.##") <> 3.14 Then >> > Return 85 >> > Endif >> > >> > this test can be true only in country where decimal separator is "." >> > >> > >> > in france ... the decimal separator is ","... then you compare a >> > string to a float !! >> > >> > All the error i have are based on this problem. >> > >> >> The problem is your comparison between a string (Format$) and a number. >> The >> number is automatically converted to a string by using CStr(), which does >> not >> use localization contrary to Format$(). >> >> -- >> Benoît Minisini >> >> >> ------------------------------------------------------------------------------ >> Centralized Desktop Delivery: Dell and VMware Reference Architecture >> Simplifying enterprise desktop deployment and management using >> Dell EqualLogic storage and VMware View: A highly scalable, end-to-end >> client virtualization framework. Read more! >> http://p.sf.net/sfu/dell-eql-dev2dev >> _______________________________________________ >> Gambas-user mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > >
GambasTester-0.9.12.tar.gz
Description: GNU Zip compressed data
------------------------------------------------------------------------------ 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
